Sent by James Gadrow on 29 June 2007 15:03
> This along with other resets makes all your fonts equivalent to 10px.
>
Actually, it makes it equivalent to 62.5% of the user's base font size
(usually 16px). But, yes, you can usually safely assume 10px.
> But also allows you do your entire layout in ems should you choose
> to do so.
I would advise that you do so. If you size your fonts in em but do your
layout in px it's kinda defeating the purpose. Using em for layout is
known as 'elastic layout' and work no matter what font size the user has
set (well, at REASONABLE font sizes at least).
> Since you are allowing the user to resize text, there is the possibility for them to muck up the
design no
> matter how hard you try to make it perfect. So a little varience is fine.
Amen to that bruddah! lol
While I don't advocate taking control of content sizing from the user,
(after all, many people have visual impairments) I do try and keep in
mind if someone is bound and determined to break my layout then it's
going to happen no matter what I do. I don't think I've seen many
designs that could stand up to 20 size bumps (unless they're doing ALL
widths in ems, but for most of the design cases I've seen the client
doesn't like the fact that the page scrolls horizontalls which means
using %, which means the page will break when the text is sized too high).
--
Thanks,
Jim
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/