On May 26, 2011, at 9:32 AM, Greg Wilker wrote:

> http://mobile.peacecereal.com/about.php
> 
> For the life of me I can not figure out two issues:
> 
> 1. why can I not get the three content elements to be right against each
> other?
> 
> I have a container element and 3 div elements within it: header, content,
> footer.
> 
> There is a background image for the content so it is important that header
> and footer but up right on it.

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.

> 2. How come the entire page is not loading on an iPhone? It "loads"
> completely on my desktop...
Loads fine - however, I have a hard time  reading the text and you disabled the 
ability to zoom.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
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