|
Posted by Jukka K. Korpela on 03/15/07 18:40
Scripsit Bernhard Sturm:
>>> 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)?
From my years of experience with Usenet, I do. If the OT had a reason, he
would have explained it. That's at least a feasible hypothesis, which is
true in a great majority of cases.
>> 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?
It's the idea of changing changing font size in the middle of a sentence and
nothing else (no hint of any meaning conveyed that way) that contradicts
that notion. What I propose is a way of being honest about it.
> font-size="1" together with an inline stlye definition in a document
> mixes layout-information with structure IMHO.
There is no structure, just the OP's desire to change font size.
> And why not use an inline element such as <span> to achieve this
> effect, as a previous poster suggested?
It would be semantically empty, whereas <font> is honest about the desire to
change font size.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|