2 images on same line in html?

css is the easiest way so I will put in the inline css.

<img src="image1.gif" alt="some image" style="display:inline;" />
<img scr="image2.gif" alt="some other image" style="display:inline;" />

you could use a table
<table>
<tr>
<td><img src="image1.gif" alt="some image" /></td>
<td><img src="image2.gif" alt="some other image" /></td>
</tr>
</table>
 
css is the easiest way so I will put in the inline css.

<img src="image1.gif" alt="some image" style="display:inline;" />
<img scr="image2.gif" alt="some other image" style="display:inline;" />

you could use a table
<table>
<tr>
<td><img src="image1.gif" alt="some image" /></td>
<td><img src="image2.gif" alt="some other image" /></td>
</tr>
</table>
 
giacomo, if i do that then the image on the right goes down a line, which is why im having a problem with it :/
how do i put 2 images on the same line in html? btw please try not to use css as im no good with then :/

thanks frr the help (:
 
Back
Top