|
| |
|
|
Zander
Posts: 3 Joined: 3/7/2002 From: Status: offline
|
Image alignment in cells. - 3/7/2002 19:14:06
I can not for the life of me figure this problem out. I am attempting to insert an image into a cell and align it to the far right. It seems to leave about a 1 pixel border either around the image or at least against the right side of the cell. I have checked that all my border sizes are set to zero. The images are designed to round off corners in a colored table so there can't be any space between the image and the edge of the cell. I'm redesigning an old site, but here is a link where so you can get an idea of what I'm talking about. http://www.pc-mechanix.net/The images align properly in that version, but I can't get them to work in the new site.
|
|
|
|
ginnie
Posts: 527 From: St. Louis MO USA Status: offline
|
RE: Image alignment in cells. - 3/7/2002 19:28:12
Have you set the table's cellpadding to 0? I didn't see what you were referring to in the url you provided, but maybe the problem is on a different url? If so, it would be really helpful to see the url with the problem. ginnie Global Presence Web Design
|
|
|
|
Zander
Posts: 3 Joined: 3/7/2002 From: Status: offline
|
RE: Image alignment in cells. - 3/7/2002 20:02:56
Yes, all borders are set to 0. If you look at the left hand column with all of the links, the cell that contains the text "Pc Mechanix" actually has an image to the right of it which makes the corner look rounded. You can compare the two by visiting http://www.pc-mechanix.net/pcmtest.htm and http://www.pc-mechanix.net/It looks fine in Netscape though.
|
|
|
|
BigBlue
Posts: 130 Joined: 1/31/2002 From: Murrieta CA USA Status: offline
|
RE: Image alignment in cells. - 3/7/2002 22:56:40
If you simply change this: <td width="22" height="25" valign="top" bgcolor="#800000" align="right"> to this: <TD vAlign="top" align="right" bgColor="#800000" height="25"> Basically, I just removed the hardcoded cell width to fix the problem. I did notice that the total width of your cells does not add up to the width of your table, which may cause some weirdness. Usually if you leave one column as a variable width, it'll take up the slack. Jeff Hester www.BigBlueBall.com - Everything about instant messaging & chat! Edited by - BigBlue on 03/07/2002 22:58:18
|
|
|
|
Zander
Posts: 3 Joined: 3/7/2002 From: Status: offline
|
RE: Image alignment in cells. - 3/7/2002 23:52:54
Thanks a million. It was driving me crazy. Can you tell me why that worked?
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|