Reference number: CH000066
Creating three images: first on left, second centered, third on
right.
Issue:Creating three images: first on left, second centered, third on right.
Solution:Creating three images on one line requires a table with three cells, allowing the images
to be centered evenly.
<table
border="0" width="100%" cellspacing="0"
cellpadding="0">
<tr>
<td><img src="http://www.computerhope.com/logo.gif"></td>
<td><p align="center"><img
src="http://www.computerhope.com/logo.gif"></td>
<td align="right"><img
src="http://www.computerhope.com/logo.gif"></td>
</tr>
Examples:The above source code
would show the below three images.
Additional information:
- See our tables page for extended
information and help with HTML tables.
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|