Help Index

Back to
geocities

html
Aligning Images

<img align=?> aligns an image

Using the image align tag, you can control where the image is placed on the page. For instance, you can line it up on the left:

<img align=left src="cube.gif">

Which pushes it to the left:


Or you can line it up on the right:

<img align=right src="cube.gif">

Which pushes it to the right:

Centering an image is a little trickier, because <img align=center> doesn't work on most browsers. Instead, you'll have to first center the paragraph, with <p align=center> (even if you don't have any text), and then place the image.

So, to center the cube, we'd write:

<p align=center><img src="cube.gif">

And it would appear like this:

Return to Help Index

mailbox ksv@earthling.net

Top | Home | Contents | Tutorials | On-Line Classes | Free Homepage | Graphics |
Publicize | Color Chart | Gadgets | Rings 'n Things | Awards |
Personal Help |