John Topley wrote:
"Els" <el*********@tiscali.nl> wrote in message
news:Xn*****************@130.133.1.4... Give the content a width, or don't float it right. If you
want it to take up all the space left to the right of the
menu, don't float it, but give it a left margin of the
same size as the width of the menu.
Thanks. I forgot to mention that the menu is optional (i.e.
the content should be full width if there's no menu), which
is why I set the content width to auto and why I can't set
the left-margin to the same size as the width as the menu.
Is what I'm trying to do possible?
Only thing I can think of right now is to add a style
#content{margin-left:0;}
to the pages without menu...
If it's the user who decides if he wants a menu or not, make
that style change go together with the decision of the user.
I've done something like that on
http://locusmeus.com/tiago.html
There's a quite wide image on the left side, and this leaves
short lines to read on smaller windows. The user can click
"move picture to the left", which appears to lead to a
different stylesheet, while in reality it leads to
/tiagoalt.html , which is the same page, with some style added
in the <head>.
--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -