Forum Moderators: not2easy

Message Too Old, No Replies

Table in a column to CSS

         

mongoloid001

7:34 pm on Sep 5, 2003 (gmt 0)

10+ Year Member



Hi, I need to convert the following to css. I really do since I have to dynamically generate the 'Modify' link. But I don't seem to be able to get what I wanted.

Any help?

If I could set the margin color, then border color, then padding color, finally the text color differently I think I can achieve same result in CSS. But I am a newbie to CSS.

Thanks!

---------------------------------------------------
/*<td>
<TABLE width="100%" cellpadding=0 cellspacing=0 border="1" BORDERCOLOR="#b9cac1" BORDERCOLORLIGHT="#b9cac1" BORDERCOLORDARK="#849c94" FONT="11">
<TR>
<TD width="100%">
<A HREF="javascript:showDetail(407);"><center>Modify</center></A>
</TD>
</TR>
</TABLE>
</td>
*/

mongoloid001

7:41 pm on Sep 5, 2003 (gmt 0)

10+ Year Member



sorry, I have a problem before my previous post. I cannot set the margin. My table is too wide, more than 40 columns! I can set the padding though.

Specify column width didn't help at all!

mongoloid001

9:43 pm on Sep 5, 2003 (gmt 0)

10+ Year Member



I think it's almost impossible to do this two borders with alternating color thing in CSS since 'bordercolorlight' and 'bordercolordark' are not supported in CSS.

Consider thread closed.

Filipe

10:15 pm on Sep 5, 2003 (gmt 0)

10+ Year Member



P.S.:

The <center> </center> tag is deprecated.

Try <div align="center"> </div>