How do I create two columns of text on a page?
-
Hello, I have a Links page and I would like the links to be in two columns. Is there some simple CSS code that I can add to help me do this?
Any help would be so v.appreciated.
Regards, Alisa -
Hi there, I’ve added some code to your Links page to put the links into two columns. You can switch to Text view to see the code.
It puts your content into two columns using two div containers, and looks something like this:
<div style="width: 45%; float: left;"></p> Your left column content </div> <div style="width: 45%; float: right;"> Your right column content </div>Just let me know if you have any questions.
-
Thank you so much Kathryn! It looks fantastic. Just what I was after. And thanks for showing me the code, I hope to learn more about CSS and be a bit more self sufficient in the future.
Cheers, Alisa -
- The topic ‘How do I create two columns of text on a page?’ is closed to new replies.