Log in

View Full Version : Table question



taydu
12-23-2006, 02:16 AM
<table border="5" width="100%" cellspacing="0" cellpadding="0" height="120" id="table1" bordercolor="#FF0000">
<tr>
<td>&nbsp;</td>
</tr>
</table>

I use the above code to create a table, it work good in IE but in FF isn't. How can I make it compatible with both browser ???

Thanks

benniaustin
12-27-2006, 09:11 PM
I assume you're talking about the border style, not being a solid color. I'm sure there's an HTML attribute, but I can't think of it, so I'll give you the css solution.

<table border="5" width="100%" cellspacing="0" cellpadding="0" height="120" id="table1" bordercolor="#FF0000" style="border-style:solid;">