On 1/15/06, Cory Perry <[EMAIL PROTECTED]> wrote:

>
> Ok, if you go to http://www.simplebits.com/ and you resize the text in
> either Firefox or in IE by using the options up in the toolbar to make
> the text smaller or larger, the entire site expands when you do it. On
> my project, if you resize the text the same way, the text will get
> larger but the structure of the site does not stretch to make it still
> look perfect. Does that make sense? So, I am curious to know how this
> works. Is it by setting everything as percentages rather than a fixed
> pixel size?
>
No, percentages for page elements all relate to parent or containing
elements, and eventually to the viewport size itself. A layout which
expands with the user's text size setting would most likely be
expressed in em units. Eric Meyer recently presented papers on this.
However, the simplebits site appears to be laid out in px and doesn't
scale when I change my font size. I didn't check out the additional IE
stylesheet, but I doubt if Dan would have implemented em based layout
for one site only.

--
Richard Grevers, New Plymouth, New Zealand
Hat 1: Development Engineer, Webfarm Ltd.
Hat 2: Dramatic Design www.dramatic.co.nz
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to