On Aug 3, 2010, at 5:11 AM, Elizabeth Farley wrote:

> but
> can I manipulate the css (ie using a percentage like you would on widths) to
> make it fluid based on the height of the screen? So that the taller the
> screen the more spread out the elements and the shorter the screen the
> closer the elements (no scrolling vertically or horizontally)?

That wouldn't work at all :-).
percentage values for _vertical_ padding/margin are computed based on the width 
of the element. In other words, the wider the screen, the taller the vertical 
padding would be (assuming the width of the elements is adjusted depending on 
the screen width.

see http://www.w3.org/TR/CSS21/box.html#propdef-padding

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





______________________________________________________________________
css-discuss [cs...@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