Closed Bug 98628 Opened 25 years ago Closed 25 years ago

Cannot Align to bottom of Table

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 22274

People

(Reporter: bulmer, Assigned: karnaze)

Details

(Keywords: testcase)

Attachments

(2 files)

There always seems to be ~5 pixels at the bottom of tables. Maybe it's just me, but every time I try to align an image to the bottom edge of the table there is always that 5 pixels between the image and the bottom edge. I've tried VALIGN="BOTTOM", and VALIGN="ABSBOTTOM" in both the <tr> and <td> tags without any luck. I hope this isn't just due to my limited knowledge of html...
have you tried, <table cellpadding=0 cellspacing=0 ... > ? and, could you possibly include an attachment as example ?
Most likely this is a dupe of bug 22274. Reporter, do you see this in HTML (not XHTML) without a doctype?
Ok... I did a little more playing around with this... when i changed from png images to gifs the problem seemed to go away. but when i made more changes, one image aligned correctly while the other didn't. I put an example of a table with png's at: www.geocities.com/toastafari/ interestingly the image deosn't seem to aligne properly in ie5 either.
yes, i am having the same problem, seems as though the image isn't fully alligned to the bottom. however, i have a solution: reporter:: you will have to use 'bottom-margin: 0' style. so... <td valign="bottom" align="left" style='bottom-margin: 0'>
sorry, seems as though i had found a fix, since mozilla aligned it to the bottom, unfortunatly, upon refreshing the page again, that same 5ish pixel gap appeared :(
i tried every style possible, but I couldn't get that image to align to the bottom, using both, mozilla and ie. btw, i'm using, build: 20010911 03, on winnt
Attached file testcase —
Keywords: testcase
use img style="display :block" and everything works as intended. The testcases should be loaded locally. *** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
also see http://developer.netscape.com/evangelism/docs/articles/img-table/ for an article on this issue. Verify dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: