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

Posted by richard on 11/27/96 11:59

"Todd Cary" <todd@aristesoftware.com> wrote in message
news:451b42ab$0$34487$742ec2ed@news.sonic.net...
>I have a <TD> that has these properties:
>
> <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;
> position: top;
> background-color: #336699;
> }
>
> No doubt I have messed up. What is the quivalent?
>
> Many thanks...
>
> Todd

Try learning what the acceptable attributes are first.
Your approach is correct. But you have not learned the proper ways of doing
it.
width? 150 what? In tables it is assumed to be pixels. But in CSS there are
other measuring tools to consider and MUST be included.
Position what? Position has nothing to do with the elements within the
division. But rather the position of the division itself. But then, perhaps
you should read about it first before implementing it.

 

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

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