Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Add text to different columns

I’m learning HTML and CSS, while doing so I’m creating a web page which replicates a already existing page that I’m using as reference.

The page that I use as reference has a nice header that contains different text in 3 columns.

I am trying to do something similar to that, however it seems im only able to add text to the first column and not the 2nd or 3rd one.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I’m sure this is possible I’m just not sure how.

>Solution :

Maybe…

<header>
<div>text 1</div>
<div>text 2</div>
<div>text 3</div>
</header>
header {
 display: flex;
 flex-flow: row nowrap;
}

div {
 flex: 0 1 33,3%;
}
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading