...

View Full Version : Sun in corner of page problem



wincode
08-27-2010, 09:17 PM
Hello. I'm working on a page with the sun on the top right of the page. But I'm not getting it to be exactly aligned with the sides of the page - there is a gap between the image and the sides. http://a.imagehost.org/0869/page.jpg

Here is the code:


<table width='100%' border='0'>
<tr>
<td width="100px">
<img src="images/logo.png" width="100px"/>
</td>
<td align='right' valign='top'>
<img src='images/sun.gif'/>
</td>
</tr>
</table>

How can I fix this?

Thanks for your time! :)

dpDesignz
08-27-2010, 11:16 PM
can you post a link to your actual page?

effpeetee
08-28-2010, 12:52 PM
Tables should not be used (http://www.hotdesign.com/seybold/)to position images.
Use CSS as here. (http://www.mardiros.net/liquid-css-layouts.html)



Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum