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

Posted by Kevin Scholl on 11/27/87 11:59

Todd Cary wrote:
> 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;

150 what? bananas?

> position: top;

I believe you're looking for the vertical-align property here.

> background-color: #336699;

Could shorten this.

> }
>
> No doubt I have messed up. What is the quivalent?

td.leftMenu {
width: 150px;
vertical-align: top;
background: #369; }

<td class="leftMenu ">

--

*** Remove the DELETE from my address to reply ***

======================================================
Kevin Scholl http://www.ksscholl.com/
kscholl@comcast.DELETE.net
------------------------------------------------------
Information Architecture, Web Design and Development
------------------------------------------------------
We are the music makers, and we are the dreamers of
the dreams...
======================================================

 

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

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