25th
DEC

Firefox Bug

Posted by Strainu | Filed under Geeks, Personal

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.

Share and Enjoy:
  • Facebook
  • Twitter
  • Identi.ca
  • email
  • Add to favorites
  • Digg
  • StumbleUpon

Leave a Reply