On 2006-Jun-01, at 22:26, Holly Bergevin wrote:

> From: Michael Larocque <[EMAIL PROTECTED]>
>
>>>> I'm baffled by a 40 pixel band of white which shows up at the  
>>>> top of
>>>> my pages in Internet Explorer,
>
>>>> URL: http://trinaread.com/
>>>> CSS: http://trinaread.com/css/style.css
>
> Try the following changes to your style sheet -
>
> body {
> /*
> position: relative;
> width: 720px;
> margin-left: auto;
> margin-right: auto;
> padding-top: 20px;
> margin-bottom: 20px;*/ /* remove these 6 properties from body */
> text-align: center;
> font-size: 12px;
> font-family: Verdana, Helvetica, Verdana, Arial, Sans-Serif;
> color: #444;
> }
>
> #container {
> background: #fff;
> /*border: 1px solid #f1e7de; */
>
> /* add these 3 properties to #container */
> position: relative; /* <<< */
> width: 720px; /* <<< */
> margin: 20px auto; /* <<< */
> }
>
> I hope that helps,
>
> ~holly

Thanks Holly. That fixed it. Mostly [1]. I had been thinking along  
the same lines (i.e. moving some of the body properties out and into  
another element).

[1] Although the 20 pixel bottom margin isn't being displayed in IE.

Carpe viam,
Mike

Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/~mlarocque/


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to