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