Jump to content

Css Help


driz

Recommended Posts

How could I have a page that has a 90% width wrapper, and then has two columns, the first should be flexible and take up as much space as is available, and the second has a default width of 340px. The two columns float left and right of each other, and have a 30px space between them.

Link to comment
Share on other sites

you want the wider one on the left?
Yes! So basically this is how it would be:<div id="wrapper"><div id="leftBox"></div><div id="rightBox"></div></div>The leftBox would be flexible, and the rightBox would be ALWAYS 340px, and ALWAYS have a 30px space between the left and right boxes.
Link to comment
Share on other sites

Cool that works awesome! BUT what if i REALLY REALLY didn't want to have my rightbox first?
Just wondering, why do you care? If the resulting page is exactly what you want, then what would it matter?(To answer my own question) The only reason I could think of is for SEO. Is that the case? If so, how?
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...