jkkenzie Posted February 9, 2010 Share Posted February 9, 2010 I want 2 images to be in one cell, one aligned top and the other aligned bottom. The images are repeated across( repeat-x) on css I am constrained to do above. Any way out? Link to comment https://forums.phpfreaks.com/topic/191467-2-images-in-one-cell-one-up-the-other-down/ Share on other sites More sharing options...
RussellReal Posted February 9, 2010 Share Posted February 9, 2010 what do you mean? why not just put 1 image tags together then set them to block elements.. td.2imgs img { display: block; } <td class="2imgs"> <img src="x.jpg" /> <img src="y.jpg" /> </td> Link to comment https://forums.phpfreaks.com/topic/191467-2-images-in-one-cell-one-up-the-other-down/#findComment-1009324 Share on other sites More sharing options...
jkkenzie Posted February 9, 2010 Author Share Posted February 9, 2010 The space between the two images (top and bottom images) varies according to the next cell contents. I will try your idea But i have solved it already. I used td.class for one image and div#id for the other image, then in css specified which goes up and which down.... thanks Link to comment https://forums.phpfreaks.com/topic/191467-2-images-in-one-cell-one-up-the-other-down/#findComment-1009335 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.