Closed Bug 254751 Opened 20 years ago Closed 20 years ago

Table with position: absolute and align="center" incorrectly creates horizontal scrollbar

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 254750

People

(Reporter: jmccabe, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040803
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040803

When a table is created using the position: absolute; top: 100px style and the
align="center" option a horizontal scrolblar is created with a mostly full thumb
(approx. 1/4" left on the right of the bar).

Test case is:

<html>
  <body>
    <table style="position: absolute; top: 100px" align="center">
	<tr>
	  <td>
	    <hr>
	    foobar
	  </td>
	</tr>
    </table>
  </body>
</html>

The "100px" can be replaced with any value. It has no effect on the scrollbar.

Reproducible: Always
Steps to Reproduce:

*** This bug has been marked as a duplicate of 254750 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.