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.


| 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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC