Page 1 of 1

css layout questions

Posted: Mon Oct 31, 2005 9:28 pm
by Charles256
how would i make a layout that looks something like this...

Code: Select all

-----------------
|  header       |
-----------------
|n |            |
|a | content    |
|v |            |
|b |            |
|a |            |
|r |            |
-----------------
the problem i constantly run into is that if content extends really extreme either the navbar goes crazy or something else goes awry. BTW, everywhere you see lines are actual borders as welll...which makes it even more obvious when things go awry. so in CSS how would i generally establish such a layout? probably a really easy question to someone that's not an idiot like me;)

Posted: Tue Nov 01, 2005 3:49 am
by Chris Corbyn
Try negative margins... sounds wacky yes but it's a great way to create that kind of liquid layout ;)

ala, a list apart...

http://www.alistapart.com/articles/negativemargins/

In fact if you're learning CSS, that entire site will be a godsend to you :D