Posted by Richard Sexton on 11/22/22 11:39
>>> And very poor coding practices. <br> and should rarely be
>>> used. And any time you have more than one together, something is
>>> wrong.
>>>
>>
>> Why is that?
>
>If you have to ask, you're not going to care what I say anyway but
>here goes.
>
><br> is often misused (as in the code I saw) to add vertical space.
>That is a purely presentational thing when we have CSS for
>presentational purposes. Use CSS instead.
>
> is often misused (as in the code I saw) to add horizontal
>space. That is a purely presentational thing when we have CSS for
>presentational purposes. Use CSS instead.
>
>The solution to the woes asked about are simple. Learn HTML and CSS.
What if you don't want to use CSS?
I use BR and NBSP all the time. Sparks have as of yet to fly out the back of
my computer.
Insisting on using a style sheet where one will do strikes me as silly.
Is there some situation where it doesn't work?
--
Need Mercedes parts ? - http://parts.mbz.org
Richard Sexton | Mercedes stuff: http://mbz.org
1970 280SE, 72 280SE | Home page: http://rs79.vrx.net
633CSi 250SE/C 300SD | http://aquaria.net http://killi.net
Navigation:
[Reply to this message]
|