Closed
Bug 310560
Opened 19 years ago
Closed 19 years ago
Properties color and height/size take no effect on <hr>-Tag when used in css
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 239208
People
(Reporter: feanor_m, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Using the properties "height" and "color" on the <hr>-Tag in an css-File takes no effect on the line created in Mozilla (it DOES in IE). The line stays in standard-color and -height. Using color and size-properties as attribute in <hr>-Tag (<hr <hr color="#ff0000" size="1px">) has the correct effect. Using "height" (as Level 1 CSS-property instead of "size" as Level 2 CSS) instead fails. Reproducible: Always Steps to Reproduce: 1.Create a CSS-file with hr{size: 1px; color: blue;} 2.create a html-file including the css with standard <hr>-tag used as css and then using <hr color="blue" size="1px"> 3. view the html-file in Firefox Actual Results: The lines are not the same, as described above. Expected Results: Lines should look the same.
Comment 1•19 years ago
|
||
A cross-browser compatible CSS equivalent of <hr color="blue" size="1px"> is more like <hr style="border: 0; border-top: 1px solid blue; height: 0">. See also bug 190655.
Well, that's right as I see. But isn't it unusual to use THOSE attributes? Wouldn't it be better to use the attributes I mentioned? I never would have tried border-top to get the effect...
Related to/duplicate of Core bug 239208?
Yes I think it is a duplicate indeed. Didn't find it in my search bevore posting this.
*** This bug has been marked as a duplicate of 239208 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•