positioning image files

Discussion in 'HTML' started by Thomas Storm, Aug 18, 2004.

  1. Thomas Storm

    Thomas Storm Guest

    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?
     
    Thomas Storm, Aug 18, 2004
    #1
    1. Advertisements

  2. Thomas Storm

    Nik Coughin Guest

    <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/
     
    Nik Coughin, Aug 18, 2004
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.