Ruth Posted April 7, 2008 Share Posted April 7, 2008 I've got this image on my website but the problem is I can't get it to align right next to the right side of the page. It has a little bit of space between the edge and the image. I've tired valign, hspace, vspace(which moves the text) I don't want to move the text I just want to move the image itself. <td valign="top" align="left"><p><font><b>Donate Online</b><br> <img src="images/donate.jpg" width="200px" height="460x" align="right" /> Thank you for helping us to achieve Baker University's mission. When you click on the 'Donate Online' button below, you will be taken to a secure eCommerce web page called viaKLIX. Please wait, as it may take a while, and thank you for your donation and patience. </font></p> Link to comment https://forums.phpfreaks.com/topic/99986-image/ Share on other sites More sharing options...
Cosizzle Posted April 8, 2008 Share Posted April 8, 2008 just a quick glance your height doesnt have a 'px' value just an 'x' vale. Also is this not working in all test browsers or just the current one your testing in? Link to comment https://forums.phpfreaks.com/topic/99986-image/#findComment-512414 Share on other sites More sharing options...
dezkit Posted April 13, 2008 Share Posted April 13, 2008 just a quick glance your height doesnt have a 'px' value just an 'x' vale. Also is this not working in all test browsers or just the current one your testing in? by that he means <td valign="top" align="left"><p><font>Donate Online <img src="images/donate.jpg" width="200px" height="460x" align="right" /> Thank you for helping us to achieve Baker University's mission.<br> When you click on the 'Donate Online' button below, you will be<br> taken to a secure eCommerce web page called viaKLIX. Please wait,<br> as it may take a while, and thank you for your donation and patience.<br> </font></p> Link to comment https://forums.phpfreaks.com/topic/99986-image/#findComment-516105 Share on other sites More sharing options...
Zhadus Posted April 15, 2008 Share Posted April 15, 2008 Fix width to be a 'px' value instead of just 'x' and also make sure you've got your padding/spacing for the table itself set to 0. Link to comment https://forums.phpfreaks.com/topic/99986-image/#findComment-517922 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.