Previous Message
Next Message

Tableless - left aligned and pushed down.

Sent by Roger Roelofs on 26 February 2005 06:06


DTM,

On Feb 25, 2005, at 5:44 PM, Deep Third Man wrote:

> http://www.shrikhande.us/CSSPage/index1.htm
>
> 1: Left Aligned in IE55
> When I view the page in IE55-PC the whole display is aligned to the
> left edge of the window. The local navigation within the red edges is
> also aligned left.
this is only a memory, no pc to test on...  IE5/win doesn't understand 
margin: 0 auto; so you have to set text-align: center on your body tag 
to get it to center in ie5.

> 2: Content Area [main div] gets pushed down.
> This happens for FF-PC,  Safari Mac, but does not happen on IE55-PC.
> The area does move up a bit if i remove the padding around the
> dateline div which is over it. <snip>
this is caused by margin collapsing.  
<http://www.complexspiral.com/publications/uncollapsing-margins/>  
#main h3 { margin-top: 0; } fixes things up nicely.

hth
Roger,

Roger Roelofs
Know what you value.

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: