View Full Version : Images with HTML
porkchop
04-18-03, 10:33 PM
How can I make a image specifically be on top of a webpage?
Immortal
04-18-03, 10:34 PM
which top are u talking about?
u mean ontop of anything on the page... or on the top line of the webby and when u scroll down it disappears...
porkchop
04-18-03, 10:39 PM
the latter
porkchop
04-18-03, 10:39 PM
what I mean is that if I have one image on the top part of a webpage, how can I have another beside it?
Immortal
04-18-03, 10:40 PM
use tables
<table>
<tr>
<td>code for the image</td>
</tr>
<tr>
<td>code for 2nd image</td>
</tr>
</table>
this is for verticle format
<table>
<tr>
<td>code for the image</td>
<td>code for 2nd image</td>
</tr>
</table>
this is for horizontal format
<tr> verticle
<td> horizontal
or without using a table:
<P VALIGN="top"><IMG SRC="image1.gif" WIDTH="200" HEIGHT="100"> <IMG SRC="image2.gif" WIDTH="200" HEIGHT="100"></P>
ub3r_n00b
05-18-03, 11:55 PM
or you could just <img src="image.gif"> and then add a <br> then add your text...
unless you play with the style of the IMG then it defaults to the order of operations it is given.. as in.. you put <img src="image.gif">
Before
<br><h1>text
Then the image will appear first
-Preet
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.