border color...firefox and ie
Moderator: General Moderators
border color...firefox and ie
i would like to know why it is happening....in my editor, i indicated the color or my table's border to be something like #336699....when viewed in ie, it appears right, but when i view it in firefox, the border has no color....is there a way i can make my bordercolor to appear correctly in both firefox and ie?
thanks...
thanks...
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
the other day i applied a 1px solid border to an image, showed perfectly in IE but the border was "floating away" from the image in firefox, i thought it was really strange and could make no sense of it.
Im guessing its because the images were placed on a DIV placeholder (the layout is totally CSS and resolution independant meaning everything scales to the users resolution automatically) and where therefore getting affected somehow by its parent.
Still i could see no reason why firefox was doing this.
Im guessing its because the images were placed on a DIV placeholder (the layout is totally CSS and resolution independant meaning everything scales to the users resolution automatically) and where therefore getting affected somehow by its parent.
Still i could see no reason why firefox was doing this.
yes, i got your point, and i have the same question with regards to firefox....but this one is really confusing me, why is it that other website displays border color correctly, and i can't...there something about it, i know there's a solution to it, i just can't get it....so if any idea out there, feel free to reply...
thanks again...
thanks again...
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
this is my sample code
Code: Select all
<table width="e;100%"e; border="e;1"e; bordercolor="e;#336699"e; cellspacing="e;0"e; cellpadding="e;0"e;>
<tr>
<td>some text<p>sometext</p><p>sometext</p><p>sometext</p><p>sometext</p><p>sometext</p></td>
</tr>
</table>- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
You know, you better be using 1.0.4. Not that it would affect your problem or anything, but they just patched a serious security vulnerability and you really should update.
Aside, IE is horrendous when keeping compatible across versions, but Firefox shouldn't have that problem. Why don't you try using CSS and border-collapse?
Aside, IE is horrendous when keeping compatible across versions, but Firefox shouldn't have that problem. Why don't you try using CSS and border-collapse?
Code: Select all
<table style="e;border:1px solid #369; border-collapse:collapse; width:100%"e; cellspacing="e;0"e; cellpadding="e;0"e;>
<tr>
<td>Stuff</td>
<td>More Stuff</td>
</tr>
</table>