Hi All,
In a td how can i place any image at an exact place i required.(Valign=top,bottom,center) Using these wont solve my problem i want my image between center and bottom of my TD. How can i get it!!!!!!!!!!!
Hi All,
In a td how can i place any image at an exact place i required.(Valign=top,bottom,center) Using these wont solve my problem i want my image between center and bottom of my TD. How can i get it!!!!!!!!!!!
You can actually do a number of things;
1 - you could cheat and edit the image to add extra height or width onto the physical dimensions.
2 - you could add margins to the img tag to push the image away from the walls of the containing cell -
<img src=images/pic.jpg" alt="pic" style="margin-top:15px; margin-left:25px;" />
3 - you could add an image as a background to the table cell -
<td style="background:url('images/pic.jpg') 15px 25px no-repeat; width:175px; height:80px;"> </td>
One of these should suit your circumstances but its up to you to decide.
Focus on Function Web Design
Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps
hemi519 (11-16-2010)
once again thanks
No problem - personally I prefer the 2nd option![]()
Focus on Function Web Design
Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps
myself also went with second option and solved my issue
Bookmarks