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

Posted by Stan McCann on 10/07/84 11:39

"Smiley" <none@ofyourbusiness.com> wrote in
news:IrqdnSEcC4Rdc3benZ2dnUVZ_t2dnZ2d@golden.net:

> "Stan McCann" <me@stanmccann.us> wrote in message
> news:Xns9765B5795AD71stanmccann@216.234.192.142...
>>
>> 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.
>>
>> --
>
> The only thing you've really told me here is that you can use CSS as
> an alternative. You haven't told me why it's not good to use <BR>
> or &nbsp; - is there some sort of problem you can run into with
> those commands? Are you saying the reason I'm having problems is
> because I used them? Please explain further.

A couple of starters:

http://www.w3.org/TR/html4/
http://gutfeldt.ch/matthias/articles/doctypeswitch.html

What you are doing is semantically incorrect. The modern thinking
(you're thinking 1995 methodolgy) is to separate content from layout.
HTML handles the content, and CSS handles the layout.

Imagine being a blind person listening to your page and hearing
something like "line break line break line break line break ..."
Most people I've talked to find it easier to maintain their documents
along with a consistent format for them.

There are plenty of free resources out there (this group is one if
you'll read here often) that can help you learn HTML. I've maintained
a web site largely authored by others using a 1996 layout and design
for a number of years. Yech, secretaries don't make very good web page
authors. Now, I'm in the process of a task that, if I had to do it
your way, would take years. By learning/using valid HTML (XHTML in
this case, against my advice) and CSS and how to do things in a
meaningful way, I expect months instead.

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

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