Closed
Bug 71540
Opened 24 years ago
Closed 24 years ago
Table doesn't use correct width when using an absolute position ...
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: squeakman2k1, Assigned: karnaze)
References
()
Details
Attachments
(1 file)
2.02 KB,
text/html
|
Details |
If you create a table which has an absolute position:
<table style="position: absolute; top: 0px; left: 3px" width="100px">...</table>
then the table will not use the correct width that you specified for the table.
It will cover the whole width of the page UNTIL you you change the text size of
the the page by going to "View/Text Size (100 %)/Some other size". After doing
this the page will then use the correct width for the table, even after changing
the text size back to whatever it was on at first.
My guess is that some function/method that was called when the text size changes
sets the width correctly (duh) and that this function isn't called when the page
is first displayed. But I'm no coder (at least not yet) so I could be a complete
idiot and have it all wrong.
The url above is to a page which suffers from this problem. (It also suffers
from other problems but they aren't as important.) I guess that's what the url
is for.
I hope that this is a decent bug report - it is my first one u know.
Comment 1•24 years ago
|
||
The url in question has _very_ poor HTML and CSS (the <head> is somewhere in the
middle of the document, the external style sheet inludes HTML markup in it, etc).
It looks like we do relayout the page approximately as we should after the
reflow when resizing text, but reflows from resizing the window don't help.
Component: HTMLTables → Layout
QA Contact: chrisd → petersen
Reporter | ||
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
On Linux 0.8 , the table is in the right position, but wrong width
(using url from attachment)
Setting CONFIRMED
Mozilla/5.0 (X11; U; Linux 2.4.2-ac17 i686; en-US; 0.8)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•24 years ago
|
||
A bit of digging finds bug 53572 -- "Width ignored in absolutely positioned table"
*** This bug has been marked as a duplicate of 53572 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•