Turns out that Firefox isn’t that good when it comes to sylesheets.
I was trying to put a blue line on my guestbook, respecting the W3C recommendations. So I made a new stylesheet class:
.guestbookHR{
color:#4A85FF;
width:70%;
}
and tried to call it from the <hr />
tag: <hr class="guestbookHR" size="4" />
, but Firefox just wown’t display the color.
If i used the color attribute, it worked OK, the problem is that XHTML doesn’t accept this attribute. I reported the problem, and I’m now waiting to see if anything happens.
EDIT: I finally found out the I should have user background-color
and border-color
instead. The page now works OK.
Lasă un răspuns