Closed
Bug 265463
Opened 20 years ago
Closed 20 years ago
<hr> tag does not align left (as the default) when a right aligned table is present
Categories
(Core :: Layout, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 244932
People
(Reporter: palmer, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
3.54 KB,
text/html
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Build Identifier: When using the <hr> tag between paragraphs where a right-aligned table is present, the horizontal rule tries to align right. This does not happen when rendered in IE. Reproducible: Always Steps to Reproduce: 1.Create an html page with a few paragraphs of Lorem Ipsum text. 2.Insert a right aligned table with a width of 200 and 50 rows so that the paragraphs are on the left and the table is on the right. 3.Insert a horizontal rule between a couple of the paragraphs. Actual Results: When viewing in Firefox, the horizontal rule is not aligned left and appears to be trying to align right. The horizontal rule displays over the table and does not extend all the way to the left of the page. When the same file is previewed in IE, the horizontal rule appears to be rendering properly. In order for the <hr> to display properly in Firefox, I need to add the attribute "align='left'" to the <hr> tag. Expected Results: The horizontal rule should be aligned left as the default without having to add the "align='left'" attribute.
Updated•20 years ago
|
Assignee: firefox → nobody
Component: General → Layout
Keywords: qawanted
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Other Branch
Comment 1•20 years ago
|
||
Reporter, could you show an example or attach a testcase? This could be a duplicate of bug 244932.
Reporter | ||
Comment 2•20 years ago
|
||
Attached is the test file I created to test the difference in rendering the <hr> tag between Firefox and IE.
Updated•20 years ago
|
Attachment #162869 -
Attachment mime type: text/plain → text/html
Comment 3•20 years ago
|
||
Yes, this is a duplicate. Thanks for the testcase, though. You can work around this problem in Mozilla by adding something like this in your stylesheet: hr[size="1"]{ border: 2px solid transparent; border-top: 1px -moz-bg-solid; margin-right:2px; } *** This bug has been marked as a duplicate of 244932 ***
You need to log in
before you can comment on or make changes to this bug.
Description
•