You are here: Re: change font size « HTML « IT news, forums, messages
Re: change font size

Posted by Bernhard Sturm on 03/15/07 10:18

Jukka K. Korpela wrote:
> Scripsit charles cashion:
>
>> I want to use css to change font size in the middle of a sentence.
>
> Stop wanting that. Changing font size in the middle of a sentence is
> disturbing.

Why? you don't know what the OT wants to achieve (maybe the OT wants to
create a weighted tag-cloud)?

>
> Should you really want to change font size in the middle of a sentence
> and nothing else (no hint of any meaning conveyed that way), use
>
> <p>I want to make some words to appear in
> <font size="1" style="font-size:6px">a ridiculously small font</font>.</p>
>
just out of curiosity: doesn't this contradict the notion, that we
should provide semantically correct structured documents?
font-size="1" together with an inline stlye definition in a document
mixes layout-information with structure IMHO.
Also: font-size:6px is probably not a very good practice as px reflects
an absolute size unit. You would use 'em's instead of px.

And why not use an inline element such as <span> to achieve this effect,
as a previous poster suggested?

cheers
bernhard

--
www.daszeichen.ch
remove nixspam to reply

 

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

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