W3C home > Mailing lists > Public > www-style@w3.org > April 2000

Re: shrink-wrap

From: gordon <gordon@quartz.gly.fsu.edu>
Date: Thu, 6 Apr 2000 08:04:56 -0700
Message-ID: <007401bf9fd9$7aa4bf00$5c5d0418@vista1.sdca.home.com>
To: <www-style@w3.org>
I believe the problem here to be one of using more advanced features, when
there are much simpler ways to achieve the goal.

The article CSS file sets the body element padding to accommodate the look
of the content.  Then it attempts to defy that by taking the reference
header out of the normal flow of the page.  The straightforward way to
approach this would be to simply set zero margin and padding on the body,
then declare a div.content with the special padding desired for the content.

Having done this, there is no reason to pull the reference header out of the
normal flow of the page.  There is also the advantage of having a sheet with
nearly identical rendering in both IEv5 and NNv4.7.
see:
http://gly.fsu.edu/~gordon/test/census.html
http://gly.fsu.edu/~gordon/test/article.css

later,
gordon

|
| http://www.alarmist.org/news/2000/03/census.html
| is ugly in IE because IE nonstandardly shrink-wraps the box at
| the top of the page.  (It should be as wide as the viewport.)
| <snip>
|
Received on Thursday, 6 April 2000 11:05:29 GMT

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