Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS & IE vs. FF

Status
Not open for further replies.

Volk359

Technical User
Jun 30, 2004
395
US
This:
Code:
  <style type="text/css">
    hr.divider {
       color:#0033ff; width:500px;
    }
  </style>

Code:
<hr class="divider">
...works fine in IE but Firefox only gives me a 500px line, no color. Might it be my doctype?

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   " [URL unfurl="true"]http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">[/URL]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top