You are here: Re: User Scalable Text Using CSS? « HTML « IT news, forums, messages
Re: User Scalable Text Using CSS?

Posted by Carolyn Marenger on 03/25/06 18:04

Cerebral Believer wrote:

>
> "Jonathan N. Little" <lws4art@centralva.net> wrote in message
> news:44255fbb$0$3700$cb0e7fc6@news.centralva.net...
>> Cerebral Believer wrote:
>>> Hi all,
>>>
>>> I am keen to allow people who view my site to be able to resize the text
>>> in their browsers (especially for people who need to read larger text).
>>> With my old web-page I specified the point size in the HTML code, and
>>> noticed that when using Internet Explorer the text could not be resized.
>>> In designing my new site I have chosen to express the text sizes as
>>> percentages in a stylesheet, e.g.
>>>
>>> .side_panel_title {
>>> font : bold 50% 'Trebuchet MS',
>>> 'Lucida Grande', Arial, sans-serif;
>>> color : #990000;
>>> }
>>> .side_panel_text {
>>> font : 50% 'Trebuchet MS',
>>> 'Lucida
>>> Grande', Arial, sans-serif;
>>> color : #373737;
>>> }
>>>
>>> I did this thinking that the viewers of my web-pages would be able to
>>> select larger font sizes for viewing by adjusting their browser text
>>> settings. However, when the page is rendered in Internet Explorer, the
>>> text only appears in a readable size (the size I actually designed the
>>> page) when the "View | Text Size | Largest" setting is selected. I had
>>> thought that users would be able to increase the size text to a larger
>>> size than the sizes I used to design the page in order to make the text
>>> easier to read - that is what I want to achieve, that is the same effect
>>> as on the w3org site http://www.w3.org/. What am I doing wrong?
>>
>> font: bold 50% 'Trebuchet MS','Lucida Grande', Arial, sans-serif;
>> ^^^^
>> THAT! 50% in incredibly small!
>>
>> BODY { font-size: 100%; }
>> .anything_else not smaller than 75%, 80% is usually the preferred
>> smallest for stuff like boilerplate.
>
> Yes, thanks for that you are right, that text size is small. I had used
> that size because, given the way I had formed my CSS & HTML, it rendered
> the way I prefer to see it in my browser, but since I modified my CSS the
> way
> you suggested I can see why I should use a larger size. The only issue I
> have now is that the text does appear to be bold when in larger sizes, and
> I would have liked to keep the text in the same weight as I would usually
> see it on my screen, I will experiemnt with the font-weight.
>
> Thanks very much for your help.
> C.B.

Why not leave the font setting at 100% and adjust your browser so it looks
good to you on your system. Then it will also look good to everyone else
when they see it on theirs at their ideal font size. This is assuming of
course that they have their default font size set to their ideal.

Carolyn

--
Carolyn Marenger

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация