This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > July 2004 > Re: SOS! question about enforce a larger print on Internet Explorer





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: SOS! question about enforce a larger print on Internet Explorer
Brian

2004-07-21, 4:16 am

gino wrote:

> My monitor was set to 1600x1200 so the fonts in IE is too small for
> me even when I set the "View->Text Size->Largest"...


Oh! If only I had this every time someone argued for using font-size: 80%!

> I don't have previlage to change the monitor resolution...


Ack. Why not? Do you have privelages to change the system font size?

> in Netscape there is such a scale factor 200% and even 300%, I like
> that, but IE does not have that one.


Why don't you use Netscape if it does the job? FWIW, I'd recommend
Mozilla Firefox, a bit more lightweight, same options. If IE doesn't
meet your needs, get a browser that does.

> I was told that CSS can do this job... so I have written the
> following .CSS file to be setup in IE "Tools->Internet
> Options->Accessbility->Using user style sheet"
>
> body { font-size: 110% !important; }


Hm. Not sure why you need to set the font-size to larger than 100%.
Have you tried that?

> h1 { font-size: xx-large !important; }


Keywords can be problematic.

> It is strange that for some titles in the webpage, the titles
> become very large, even when only 110% is applied; but the regular
> texts are still small...not affected at all....


This might depend on the site. Font-size set in pixels is not
resizable via the menu font-size selector, but I'd think that a user
stylesheet would trump whatever stupid microfont a web author tried to
impose on you.

> If I set up IE "Tools->Internet Options->Accessbility->Ignore
> webpage font size", then all the texts on the webpage become large


Too large? Or just the right size? This is important for the user css.

> table size is still very small, that's to say, the table size does
> not change accordingly, so many characters in that table becomes
> squeezed and overlapped into a column...


If an author codes font size in pixels, and then sets width for
elements (e.g., table cells) in pixels, the design is fragile, and may
break for you.

> I hope the following can be done:
>
> all fonts scale 200% uniformly, with respect to their original
> size; smaller fonts become still smaller relative to other fonts,
> after the scaling...


Sure, that's possible. But ISTM that you need to set your font size
once, and make it exactly as big as you want. Then enforce that
font-size via user css.

> and column/table size should change accordingly, but change line
> smartly, i.e., I don't want to use horizontal scrolling, because my
> mouse can only do vertical scroll using the mouse wheel... so the
> texts should display screen-wide, but without the horizontal
> scroll, I really hate reading text by horizontal scrolling...


These are the symptoms of bad web design.

> Please help me on such a CSS style sheet... how to write that one?


First, try to set the font-size for your system to something that you
like. Then, try this:


body, p, table, tr, td, li, div { font-size: 100% !important; }

table, col, td, th { width: auto !important; }

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews