Previous Message
Next Message

Re: [css-d] limiting text width

Sent by Andrew Clover on 10 April 2002 04:04


Brian Costner [EMAIL-REMOVED]> wrote:

> Regardless of resolution and window size, will the entire body element never
> exceed 50em?

That's the idea. You can also pick up a script to get the min/max CSS
properties to work on IE, at:

  http://and.doxdesk.com/software/js/minmax.html

(Also there's a new script at the same site to get edge-based absolute
positioning working in IE, what I did the other day. Hurrah!)

> Does body become a div distinct from html?

It always has been, except in buggy browsers.

> Is there some space wider than 50em that gets treated differently from
> body, e.g., has a different background color setting?

Yes. This is represented by <html>. It's a strange quirk of CSS that
the <html> element can take its background from <body> instead, to get
around the fact that everyone is used to putting backgrounds on <body>,
not <html>.

-- 
Andrew Clover
[EMAIL-REMOVED]
http://and.doxdesk.com/
Previous Message
Next Message

Message thread: