This is what I'm trying to do:
(Larger image.)
When the <nav>
element is present in the design, I want it to look like the example below. Is it possible to do this while the #content
div has got a percentage value set? I'm just curious to see whether this is possible without using two different styles for the #content
(both with different width values.)
Just floating doesn't seem to do it.
The reason I want the #content
to have a percentage value in the first example is because I have a background image in #body
that creates the illusion of an outer glow.
Edit: I just removed the need for using the width percentage by using margins instead.