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]
|