Welcome visitor
* Login
* Register
It is currently July 20th, 2019, 11:30 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 4 posts ] 
Author Message
  An image should touch the bottom border of a cell
PostPosted: December 22nd, 2009, 7:15 pm 

Posts: 13
Hi,

I have a table with an image inside a cell. I thought that the image was at the bottom line of the cell border, but since I added a background color I can see a little space between the image and the cell border. I've tried all CSS but the space wont go away!


Top
 Profile  
 
  Re: An image should touch the bottom border of a cell
PostPosted: December 23rd, 2009, 5:57 am 

Posts: 55
Hi, have you tried the "position" attribute?


Top
 Profile  
 
  Re: An image should touch the bottom border of a cell
PostPosted: December 23rd, 2009, 6:12 am 

Posts: 13
No, not that one, how can I apply it?


Top
 Profile  
 
  Re: An image should touch the bottom border of a cell
PostPosted: December 23rd, 2009, 6:24 am 

Posts: 55
<img src="image.bmp" style="position:relative; bottom:-4px">

The -4px could be more or less depending on the font-size on the cell.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron