You are here: Re: CSS equivalent « HTML « IT news, forums, messages
Re: CSS equivalent

Posted by jojo on 11/27/80 11:59

Todd Cary schrieb:

>>> <td width="150" bgcolor="#336699" valign="top">
>>>
>>> and I would like to put those properties into a CSS.
>>>
>>> This does not work:
>>>
>>> TD.LeftMenu {
>>> width: 150;
>>
>> td.leftMenu {
>> width: 150px;
>> vertical-align: top;
>> background: #369; }
>>
>> <td class="leftMenu ">
>>
>
> I must be missing something else since
>
> http://209.204.172.137:8090/caht1/php/login.php
>
> is without the CSS equivalent and
>
> http://209.204.172.137:8090/caht1/php/login_2.php
>
> with the above CSS.

Hey, didn't realise that first, but... you are using a table layout!!!
bad thing... if you decide to use CSS (which definetly is a good step!)
than use CSS for your layout, too, and get rid of those ugly tables. use
<table> *only* to describe tabular data, not for layout.

jojo

 

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

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