|
Posted by Jonathan N. Little on 03/21/07 18:01
Jukka K. Korpela wrote:
> Scripsit Jonathan N. Little:
>
>> Andy Dingley wrote:
> - -
>>> <span>Some text</span><br />
>>>
>>> makes perfect sense in many of the more general cases, such as where
>>> it's within a larger block of text. Your posting is potentially
>>> misleading, if read out of context.
>>
>> If you use style you have more presentational flexibility:
>
> And less. I'm not sure I see what you are really discussing, and the
> Subject line seems to be rather far from it. But if correcting
> potentially misleading statements is the theme here, I'll offer my 0.02
> euros:
The subject was a problem with a table, I just also noted other evidence
within source which indicated deficiency in understanding potential of
CSS and markup.
When I see lists of <br>'s between elements usually means the person
does does not understand how to set margins and padding on elements
When I see: <br><inline-element><br><inline-element><br>... usually
means the person does does not understand that they have a list, or that
they could style inline elements as block and get the presentation
effect that they desire or maybe they should be using a block element to
start with.
>
>> <span class="properName">The Name</span> more info...
>>
>> If you want the "properName" displayed on its own line
>>
>> SPAN.properName { display: block; }
>
> Yes, but that corresponds to
> <br><span>...</span><br>
> and cannot be used if you want the content of the span appear inline,
> just followed by a line break. That is, there is no effective way of
> causing just one line break in CSS. (Using generated content doesn't
> count, since it's not supported by IE.)
>
<br><span>...</span><br> was what I saw in the markup, but yes you are
correct about a single line break in CSS, that is was the generated
content would address. As to IE, as long as MS continues to to put their
fingers in their ears chanting "our way or the highway..." we will
always have to design for with fork! The frustrating bit is that even if
designed "their" way, which version of "their" way since it changes with
each version of IE...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|