A question about images

I’d like to see to align an image in the middle of my webpage using only web coding. I cannot choose a command to undertake it. The image is at the top associated with my page and i just want it to become centred down the middle of the page.

put this code around the image:

HTML:
< div align=" center" > < " picture code here" > < /div> 

Confused but I are convinced will only work in IE.

Code:
< div align=" center" >
< div style=" margin: 0 auto; " >
< " picture code here" )
< /div>

That would work in IE in addition to Firefox.
< /div>

Code:
< img src=" location/pic. jpg" width=" (xx)" alt=" " style=" margin: o auto; " /> 

or

Code:
< center>
< img src=" location/pic. jpg" align=" center" alt=" " >
< /center> 

Depends when you are bothered about web standards, many methods now at least use a smaller snippet of CSS.

This entry was posted in Web Design and tagged , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *