Reply to Re: not valid HTML error

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 10/06/06 18:59

John Salerno wrote:

> John Salerno wrote:
>> Beauregard T. Shagnasty wrote:
>>> John Salerno wrote:
>>>
>>>> * body { o font : small/1.5em Verdana, Helvetica, Arial,
>>>> sans-serif; }
>>>
>>> Please see: http://k75s.home.att.net/fontsize.html
>>>
>>> Thanks.
>>>
>>
>> Interesting, thanks. I did notice the IE did some funky stuff with
>> the fonts, so I changed it to what it is now. Perhaps I should do %
>> instead.
>
> Eh, I don't like this. I tried 100% for the body, but that was way
> too big, so I did 75%. It's okay but not as nice as just putting
> "small".

So reduce the size of your own browser's default font. Don't mess with
mine, though. If you use 100%, everyone gets their own preferred set
size, which is the idea of pages on the WWW.

Did you remove the Verdana? I don't have that on my computer. (It's not
Windows.)

> However, I don't know quite what to do with the size of .codeblock.
> Is it a percentage of the body? So if I put 75%, it is 75% of the
> size of whatever body is, or 75% of some preset font?

It would be a percentage of the parent. Is "codeblock" supposed to be
larger, smaller, or the same as the main content (body) font?

If it is supposed to be a tad smaller than main content, set it to 90%.
Also, do you need to set the line-height? That's not normally done.

--
-bts
-Motorcycles defy gravity; cars just suck

[Back to original 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

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