positioning image files

T

Thomas Storm

I am trying to place an image file in the top-left corner of the browser
window with no margin on any side. Does anyone know of a way using HTML to
specify where a picture should be placed?
 
N

Nik Coughin

Thomas said:
I am trying to place an image file in the top-left corner of the
browser window with no margin on any side. Does anyone know of a way
using HTML to specify where a picture should be placed?

<img src="blah.png" alt="Blah blah blah" style="position: absolute; top: 0;
left: 0;">

Better still, use the natural flow of the page:

http://www.nrkn.com/topleft/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top