View Full Version : Restricting Browser Text Size Setting
mark4man
01-09-2007, 03:39 PM
Hey...
The style:
body
{
font-size: medium
}
...is that used to restrict the browser's text size setting (for example...IE; View > Text Size)...
or is there another snippet for this I'm not aware of?
I want to be able to have my browser's text size remain at medium, for all that view the site.
Thanks,
mark4man
rmedek
01-09-2007, 04:19 PM
No, that's based off of the default browser setting; i.e. if the default browser setting is 16px then "medium" will be somewhere around 16px.
There's no way to restrict the text-size in the browser; it's one of the challenges of designing web pages rather than static print pages. IE 6 won't resize pixels (i.e., if you use p {font-size: 12px;} then the text will always be 12px) but IE 7 will and so will every other browser out there. You could use Flash or make everything one big image if you're desperate and don't care about a good user experience.
mark4man
01-09-2007, 06:43 PM
Richard...
I know that tables (for example) will resize to accomodate changes in browser text size. But I like to design w/ layers...'cause it's like a graphic illustrator doing paste up...or like designing graphic illustrations in photoshop or illustrator. With tables, I don't know how to make them overlap; & I utilize overlapping images & text quite a lot (&...I don't even think they can.) I guess there's a way to do it w/ styles, but I'm not that advanced, yet.
Oy Vey...
Thanks,
mark4man
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.