You are here: Re: Strange Table Behaviour « HTML « IT news, forums, messages
Re: Strange Table Behaviour

Posted by Stan McCann on 10/18/59 11:39

"Smiley" <none@ofyourbusiness.com> wrote in
news:jpqdnf9I479WRXbeRVn-tw@golden.net:

>
> "Stan McCann" <me@stanmccann.us> wrote in message
> news:Xns9765AD0DA3140stanmccann@216.234.192.142...
>> "Smiley" <none@ofyourbusiness.com> wrote in
>> news:x7ydnY-sV6d-SXbeRVn-rg@golden.net:
>>
>> And very poor coding practices. <br> and &nbsp; 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.

&nbsp; 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.

It wasn't that long ago that I was creating pages that way too so I do
understand how and why people come up with code like that. I then
started really learning HTML and CSS. I don't edit pages in Netscape
Composter anymore.

--
Stan McCann, "Uncle Pirate" http://stanmccann.us/
Webmaster, NMSU at Alamogordo http://alamo.nmsu.edu/
Now blocking Google Grouper posts and replies.
http://blinkynet.net/comp/uip5.html

 

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

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