PDA

View Full Version : HTML: atribute bordercolor doesn't seem to work on mozilla..


Th3 ProphetMan
December 12th, 2003, 10:52 AM
I've got a problem with a piece of HTML code. I'm making a site for Mozilla/Firebird.

The problem is that i want to give a color value to the borders of some tables and the atribute used to do so in Internet Explorer ( bordercolor="######" ) doesn't work in mozilla browsers. The attributes bordercolorlight & bordercolordark won't do the job either... Not even aplying a css style to the table resulted...

Does anyone know how can i get mozilla to show damn borders correctly?? surely mozilla supports custom colors on it's table borders, doesn't it?... Thx.

Edit: i just found something... something in the good way happens if i add style="border-collapse: collapse" still i have to mess up with that and see.... i'll tell you..

Edit #2: OK THE PROBLEM HAS BEEN SOLVED
sorry for the useless thread.. :(

RADiator
December 12th, 2003, 11:30 AM
Hrmm, try this one: bordercolor="yellow" If it works I will tell you all the possible color values that you can apply, if it wont work, than we will try to do it the other way.

Th3 ProphetMan
December 12th, 2003, 11:46 AM
thanks for helping rad.

the problem wasn't related to the value given to "bordecolor" but the fact that mozilla didn't recognize the bordercolor attribute itself... so the code i finally used is:


<table width="200" style="border-collapse: collapse" border="1" align="center" cellspacing="0" bgcolor="#999999" class="border">
<tr>
<th scope="col"><table width="500" border="1" align="center" cellpadding="0" cellspacing="0" class="border">
<tr>
<th width="99%" bgcolor="#999999" scope="col"><div align="left">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"><div align="left"><font size="2" face="Geneva, Arial, Helvetica, sans-serif">Notice:</font></div></th>
</tr>
</table>
</div></th>
</tr>
<tr bgcolor="#CCCCCC">
<td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td scope="col"><div align="justify"><font size="2" face="Geneva, Arial, Helvetica, sans-serif"><br>
Some sections are still in development. Sections currently online are: Games, Normal Cars, Exotic Cars, Artist/Album Music, Host</font><font size="2" face="Geneva, Arial, Helvetica, sans-serif">.</font><font size="2" face="Geneva, Arial, Helvetica, sans-serif"><br>
<br>
I am sorry for any inconvinience this may cause. <br>
<br>
</font></div></td>
</tr>
</table></td>
</tr>
</table></th>
</tr>
</table>



It's the style applied to the table what makes it look like it should..

RADiator
December 12th, 2003, 12:38 PM
Good to see that you have found the solution. And if you will encounter any further difficulties, do not hesitate to ask.

Th3 ProphetMan
December 12th, 2003, 05:13 PM
heheh thanks for the offer and thanks for being so fast helping before... when the site is done i'll post a link in the forums... see you mate..