driz Posted January 24, 2009 Share Posted January 24, 2009 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 More sharing options...
jlhaslip Posted January 25, 2009 Share Posted January 25, 2009 you want the wider one on the left? Link to comment Share on other sites More sharing options...
driz Posted January 25, 2009 Author Share Posted January 25, 2009 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 More sharing options...
jeffman Posted January 25, 2009 Share Posted January 25, 2009 #rightBox { float: right; width: 340px; margin-left: 30px}---------<div id="wrapper"> <div id="rightBox"></div> <!-- Yes, the right one comes first --> <div id="leftBox"></div></div> Link to comment Share on other sites More sharing options...
driz Posted January 25, 2009 Author Share Posted January 25, 2009 Cool that works awesome! BUT what if i REALLY REALLY didn't want to have my rightbox first? Link to comment Share on other sites More sharing options...
jeffman Posted January 25, 2009 Share Posted January 25, 2009 Dude . . . Link to comment Share on other sites More sharing options...
Jerry62704 Posted January 27, 2009 Share Posted January 27, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.