W3C home > Mailing lists > Public > www-style@w3.org > May 2002

Re: CSS and Page Layouts

From: Andrew Clover <and@doxdesk.com>
Date: Tue, 14 May 2002 14:52:21 +0000
To: www-style@w3.org
Message-ID: <20020514145221.A7143@doxdesk.com>
Steve Hurley <steveh@mwahosting.com> wrote:

> Is there anyway to keep the middle next to the left no matter what?

This is off-topic for www-style, which is for discussion of the CSS standard
itself. For authoring issues please try Usenet or one of the many web design
fora around. (eg. webdesign-l.com, evolt.org...; for CSS-specific issues there
is http://two.pairlist.net/mailman/listinfo/css-discuss .)

You have set the IE5 width of the left element to 50%, but positioned the right
element at 140px across, so it is not surprising it doesn't match. Try this
basic layout if what you want is a fixed-size left element with the right element
taking up the rest of the space:

  #left { position: absolute; width: 150px; }
  #right { margin-left: 150px; }

--
Andrew Clover
mailto:and@doxdesk.com
http://and.doxdesk.com/
Received on Tuesday, 14 May 2002 10:52:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:14 GMT