help with Html image alignment

Status
Not open for further replies.
6 comments
<div id="wrapper">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="17%" ><img src="element.png" width="230" height="381" align="top" /></td>
<td width="29%" align="left">middle</td>
<td width="25%" align="left" background="backimg.png"><p>dfg</p></td>
<td width="29%"></td>

</tr>
</table>

this should do it
 
Change this:
<td width="17%" ><img src="element.png" width="230" height="381" /></td>
To this:
<td width="17%" ><div style="background: url(element.png) center top no-repeat; width:230px; height:381px;">You can add text here or leave this space blank</div></td>

to add color to this background: background: #000 url(element.png)

It will work
 
Last edited:
Status
Not open for further replies.
Back
Top