Reply to Re: class vs. style

Your name:

Reply:


Posted by dorayme on 01/18/07 23:30

In article <FFSrh.50393$wc5.43777@newssvr25.news.prodigy.net>,
dfloss <dfloss@imap.com> wrote:

> given this css:
>
> .no_left_border {border-left: 0px solid}
> table td {border-left: 1px solid}
>
> <td class="no_left_border"> <-- doesn't work -->
> <td style="border-left: 0px solid"> <-- works -->
>
> Can someone explain the behind the scenes reasons?

But what is the question exactly? If you wondering why

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<STYLE TYPE='text/css'>
.no_left_border {border-left: 0px solid}
}
</STYLE>
</HEAD>

<BODY>
<table><tr>
..no_left_border {border-left: 0px solid}
</td>
</table>
</BODY>
</HTML>

does not display a left border, it is because you have said not
to have one (the proper way is ": 0" not "0px solid" btw)

--
dorayme

[Back to original 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

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