Page 1 of 1

mozilla firefox and internet explorer...just your opinion

Posted: Tue Jul 19, 2005 5:04 am
by pleigh
i just want to know if my observations are right...i did this code:

Code: Select all

<table width=&quote;100%&quote; border=&quote;0&quote; bgcolor=&quote;#EDEFE1&quote; cellpadding=&quote;0&quote; cellspacing=&quote;0&quote; align=&quote;center&quote;>
<tr>
<td>
<table width=&quote;100%&quote; border=&quote;1&quote; bordercolor=&quote;#336699&quote; cellpadding=&quote;0&quote; cellspacing=&quote;0&quote;>
<tr>
<td>
    something
</td>
</tr>
</table>
</td>
</tr>
</table>
please take note that in the 2nd table, i made the bordercolor="#336699"...it works perfectly in internet explorer, but when i preview it in firefox, the desired color did not appear,instead,, the default color appears...then i did this

Code: Select all

<table width=&quote;100%&quote; border=&quote;0&quote; bgcolor=&quote;#EDEFE1&quote; cellpadding=&quote;0&quote; cellspacing=&quote;0&quote; align=&quote;center&quote;>
<tr>
<td>
<table width=&quote;100%&quote; border=&quote;1&quote; class=&quote;maintableborder&quote;cellpadding=&quote;0&quote; cellspacing=&quote;0&quote;>
<tr>
<td>
    something
</td>
</tr>
</table>
</td>
</tr>
</table>
i put a class in my 2nd table,and edited my stylesheet with the following code

Code: Select all

.maintableborder {
	border: #4588CB 1px solid;
}
and it works in both browsers....no problem upto now..

now, is it just my observation??are you guys experiencing this observation?just a thought and i think, i'm just wanting my thoughts to be justified by your opinions guys...thanks... :D

Posted: Tue Jul 19, 2005 5:40 am
by djot
bordercolor only may be used for framesets, not for tables.
Internet Exploder anyway supports bordercolor as HTML, but this is not within the standard.

That's why it's not working in standard conform browsers.

Posted: Tue Jul 19, 2005 6:16 am
by Chris Corbyn
Use CSS for things like that... and please choose the forum you post in more carefully.

Move to client side.