mozilla firefox and internet explorer...just your opinion

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

mozilla firefox and internet explorer...just your opinion

Post 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
djot
Forum Contributor
Posts: 313
Joined: Wed Jan 14, 2004 10:21 am
Location: planet earth
Contact:

Post 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.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Use CSS for things like that... and please choose the forum you post in more carefully.

Move to client side.
Post Reply