Jump to content

Getting images side by side in a table


jwhite68

Recommended Posts

I have the following simple code segment, and want to get the 2 images side by side - instead vertically on top of each other as they are now:

 

<tr>
<td colspan="2">
<img src="elements/mc_logo.jpg" width="97" height="54"/>    <img src="elements/visa_logo.jpg" width="90" height="54"> </td>
<td colspan="2">	
<img src="elements/mblogo.gif"/>
</td>
</tr>

 

So I basically want mc_logo and visa_logo side by side, and not stacked up on top of each other.

Does anyone have any advice on how to achieve this?

Link to comment
https://forums.phpfreaks.com/topic/53739-getting-images-side-by-side-in-a-table/
Share on other sites

Goto the html forum ???

 

<tr>
<td colspan="1">
<img src="elements/mc_logo.jpg" width="97" height="54"/> </td>
<td colspan="1">
   <img src="elements/visa_logo.jpg" width="90" height="54"> </td>
<td colspan="2">	
<img src="elements/mblogo.gif"/>
</td>
</tr>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.