Posted by saz on 10/18/47 11:32
In article <11nvdvshjgkn8ba@news.supernews.com>, DavidS@Bellwest.org
says...
> Hi All,
>
> I'm trying to add an image to a website. The web-site builder I'm using has
> this tag:
>
> <img style="width: 800px; height: 298px;"
> alt="helo"
> src="../jet_ranger.jpg"><br>
>
>
> I tried the "align=center" tag but no joy. So, how can I center the image
> on the page horizontally?
>
> Any pointers really appreciated.
>
>
Any web-site builder that writes that kind of code belongs in the
garbage.
The simplest way, removing the crappy css code:
<div align="center">
<img alt="helo" src="../jet_ranger.jpg" width="800px" height="298px">
</div>
But there are several other ways using CSS *properly* to achieve the
same effect.
I would also recommend making the image no wider than 750px. At 800px,
you will get a horizontal scrollbar in 800 x 600.
[Back to original message]
|