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!

Mozilla not recognising <hr> css information 1

Status
Not open for further replies.

gwillr

IS-IT--Management
Nov 4, 2003
267
CA
I have a page that has inline css info for two <hr/> tags.

The color is the issue.

the css in the <head> section is as follows:

Code:
<style type="text/css">
hr {color: #ffff99; height: 1px;}
</style>

IE adheres to this css request, and if i change the color code, IE changes it accordingly.

Mozilla however, only displays a dull grey no matter what.

what is causing this??

DOes mozilla ignore inline syles?

Gary

 
only IE recognises the color attribute for <hr>. for cross browser use
Code:
 color:red;
 background-color:red;



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top