OutFront Forums
     Home    Register     Search      Help      Login    

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

 

Image alignment in cells.

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Image alignment in cells.
Page: [1]
 
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

(in reply to Zander)
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.


(in reply to Zander)
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

(in reply to Zander)
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?


(in reply to Zander)
BigBlue

 

Posts: 130
Joined: 1/31/2002
From: Murrieta CA USA
Status: offline

 
RE: Image alignment in cells. - 3/8/2002 21:18:52   
quote:

Thanks a million. It was driving me crazy. Can you tell me why that worked?



Dang! I didn't know there was going to be a quiz afterwards!

I'm not exactly sure why it worked. I do know from experience that sliced images in tables are a bit finicky. I don't do them often enough to answer "why" though.

Jeff Hester
www.BigBlueBall.com - Everything about instant messaging & chat!

(in reply to Zander)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Image alignment in cells.
Page: [1]
Jump to: 1





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