Sent by Roger Roelofs on 28 February 2005 19:07
DTM,
On Feb 28, 2005, at 11:51 AM, Deep Third Man wrote:
> Thanks Roger, partial success!
>
>>> Content Area [main div] gets pushed down.
>> this is caused by margin collapsing.
>> <http://www.complexspiral.com/publications/uncollapsing-margins/>
>> #main h3 { margin-top: 0; } fixes things up nicely.
>
> The above worked perfectly.
>
> Unfortunately, the left align issue (all the "body" of content &
> navigation menu shows up left ailgned) was not resolved with the
> following suggestion:
>
>> 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.
>
> Completing the above forced all of the text to be center aligned.
>
> The actual test page:
> http://www.shrikhande.us/CSSPage/index1.htm
You just need to reset text-align: left; in div#wrap to restore proper
alignment.
Roger
-------------------------------------------------------
Roger Roelofs web www.datacompusa.com
Datacomp Appraisal Services web www.mhvillage.com
3215 Eaglecrest Drive, NE Email [EMAIL-REMOVED]
Grand Rapids, MI 49525-4593
______________________________________________________________________
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/