Closed Bug 220906 Opened 21 years ago Closed 21 years ago

[CSS] Table can't be positioned absolute to the right and bottom of document

Categories

(Core :: Layout: Tables, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 145572

People

(Reporter: g.teunis, Unassigned)

References

()

Details

Attachments

(4 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925 Firebird/0.7

When positioning a table with CSS
i.e.
<table style="position: absolute; right:50;bottom:50;">
Doesn't paint the table to the lower right corner, a
<table style="position: absolute; left:50;top:50;">
positiones well! It is drawn at 50,50 in the document..
So the right and bottom doesn't work (left and top does).

Document load correctly on IE and Opera

Reproducible: Always

Steps to Reproduce:
1. http://wenus.cjb.net/table_positioning.htm
2. 
3.

Actual Results:  
Incorrect positioning of tables (all in left top corner)

Expected Results:  
One table aligned at the left side, one on right side, one on top and one at bottom.

There are a lot of pages positioning tables to the right or bottom of a page, so
it's a above normal bug?
Attached file Testcase
Test case (try in IE and Mozilla/Firebird to see difference!)
This is basically bug 53663, but just marking dependent for now.
Depends on: 53663

*** This bug has been marked as a duplicate of 53663 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
The "position:absolute; right:100px;" boxes aren't showing correctly 
(not 100 pixels from the right border).

Tested it with 50, wich results in partly in document and partly out document
display (outside results in wider document with scrollbar).
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
This seems to be fixed not that bug 53663 is fixed, can anyone verify?

*** This bug has been marked as a duplicate of 53663 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
Not fixed I fear,
The box wich is right aligned is too far to the right,
Please check my testcase and then look at the IE screenshot (witch renders
correctly).

Hope this will be fixed soon :)
Comment on attachment 132455 [details]
Testcase

<html>

<!-- LEFT ALIGNED -->
<table border=1 width=50 STYLE="position:absolute; left:100px;">
	<tr>
		<td>
			Left Aligned Table (left:100px)
		</td>
	</tr>
</table>


<!-- RIGHT ALIGNED -->
<table border=1 width=50 STYLE="position:absolute; right:0px;">
	<tr>
		<td>
			Right Aligned Table (right:0px)
		</td>
	</tr>
</table>

<!-- TOP ALIGNED -->
<table border=1 width=50 STYLE="position:absolute; top:100px;">
	<tr>
		<td>
			TOP Aligned Table (top:100px)
		</td>
	</tr>
</table>

<!-- BOTTOM ALIGNED -->
<table border=1 width=50 STYLE="position:absolute; bottom:0px;">
	<tr>
		<td>
			BOTTOM Aligned Table (bottom:0px)
		</td>
	</tr>
</table>

</html>
Perhaps I should make a new report for this.
Sorry for the high update rate of this bug.

STYLE="position:absolute; right:0px;" renders the box outside the screen, please
look at new screenshot (witch is positioned at right at 0px)
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
you could mark as a dupe of bug 145572 :-)

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

Attachment

General

Creator:
Created:
Updated:
Size: