Click to See Complete Forum and Search --> : Position IMAGES *HELP*


intothe_rain
07-14-2003, 01:52 AM
Can sum1 tell me the code to position an image using pixels? Like tell the image to position itself in the top right hand corner of page via pixel? help if u can

Hester
07-14-2003, 04:26 AM
<div style="position:absolute; top:0px; left:0px; height:75px; width:100px; z-index:2;"><img src="myimage.gif" height="75" width="100" alt="Logo" /></div>

David Harrison
07-14-2003, 12:43 PM
You don't really need to put the image in a div tag, you could put the style attribute in the img tag:

<img src="myimage.gif" style="position:absolute;top:0px;left:0px; height:75px;width:100px;" alt="Logo">