...

View Full Version : how to align an image in the header of the page



msg2ajay
10-31-2007, 10:38 AM
hello friends,
I am trying to put an image in the HEADER of the page. But i am getting slight empty space(white space) around the image nearly a letter gap in left,top. Is there any way to align the image to left and top most corner of the page. my code is ...




<body leftmargin="0" topmargin="0">
<table cellspacing="0" cellpadding="0" marginwidth="0" marginheight="0" border="0" width="100%" >
<tr>
<td width="100%" height="50" valign="middle" background="">
<img src="/images/header.png" width="100%" height="50">
</td>
</tr>
</table>
</body>


thx in adv,
Ajay

abduraooft
10-31-2007, 11:17 AM
Have a try with

<img src="/images/header.png" width="100%" height="50" style="display:block;">



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum