Hello Philippe (and group),

Using some of your advice below, I have the 3 elements "butting up" against
each other. However, I've had to use negative margins in the header and
footer elements.

I thinking this is a mistake - a band aid that is going to create trouble
down the road (a train of thought I hold for most negative measurements.)

Is there a better way to solve this?

Again, this project was handed to me on fire so I am under the gun to solve
and deliver - any aid appreciated.

Sincerely,
Greg


> -----Original Message-----
> From: Philippe Wittenbergh [mailto:e...@l-c-n.com]
> Subject: Re: [css-d] mobile site issue
> 
> 
> On May 26, 2011, at 9:32 AM, Greg Wilker wrote:
> 
> > http://mobile.peacecereal.com/about.php
> >
> 
> Top: images are by default inline elements and rest of the baseline of the
> text (leaving space for descenders). setting that image to display: block
> would fix the issue.
> Bottom: the margin of the <p> collapse through the parent div. Give the
> div a bottom border or a bottom padding would inhibit the margin-
> collapsing through.

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to