Welcome visitor
* Login
* Register
It is currently May 19th, 2019, 10:35 pm
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
  images inside cells
PostPosted: July 7th, 2009, 6:24 pm 
User avatar

Posts: 61
im making a framed picture gallery, each frame is a cell from a table. but when the image is bigger it resizes the cell to fit the image.

What i would like to do is to keep the cell the same size, any ideas?
I'll appreciate it.


Top
 Profile  
 
  Re: images inside cells
PostPosted: July 7th, 2009, 7:10 pm 
User avatar

Posts: 52
use the image as background


Top
 Profile  
 
  Re: images inside cells
PostPosted: July 7th, 2009, 8:07 pm 
User avatar

Posts: 61
Thanks but that wont show the image complete, i also found the overflow: hidden and it creates the same problem, using overflow: auto shows scrollbars but i dont want them either. Isn't there an html code to resize only the picture?


Top
 Profile  
 
  Re: images inside cells
PostPosted: July 7th, 2009, 8:33 pm 
User avatar

Posts: 48
<img src="" style="width: 100%"> 
if the height is bigger it will resize the cell again, for those pictures add the specific height you need them to have, for example
<img src="" style="width: 100%; height:100px">


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