From: hzgt9b on
On Apr 24, 3:05 pm, Bergamot <berga...(a)visi.com> wrote:
> hzgt9b wrote:
> > On Apr 23, 12:52 pm, hzgt9b <celof...(a)gmail.com> wrote:
>
> >> I am having trouble getting the 1st div added to a containing div to
> >> have its margin-left applied
>
> >>http://www.freewebtown.com/emailceloftis/noLeftMargin.html
>
> What's with all the convoluted containers? This is way more complicated
> than it needs to be, plus it's a most serious case of "div-itis".http://microformats.org/wiki/posh
>
> I bet if you simplified it, the problem would disappear on its own.
>
> BTW, this:
> #contents {
>     position:relative;
>     top:2em;
>
> }
>
> probably doesn't do what you think it does.http://brainjar.com/css/positioning/
>
> --
> Berg

>> What's with all the convoluted containers?
The example page is the most simplified form of the actual problem
that I could create to display the problem and to includ all the CSS
markup that acts on the offending element and/or its ancestors in the
page hierarchy (the other containers serve to hold other content in
the full version of the page).

The #contents div is styled as intended.