css layout questions

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

css layout questions

Post 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;)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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
Post Reply