Re: Any way to align an image against page borders?

by "Sean Healy" <jalopeura(at)hotmail.com>

 Date:  Tue, 23 Nov 1999 10:19:27 AKST
 To:  jprice(at)visi.com,
hwg-basics(at)hwg.org
  todo: View Thread, Original
>My girlfriend is working on a webpage and has an image she wants to >put in 
>the upper left hand corner of the page, against the left and >top page 
>borders.  When she adds an image, it puts a small border >between the edge 
>of the page and the image.  We've messed around with >it a bit and tried to 
>force it all the way to the edge, but haven't >had any luck.  Is there a 
>way to do this?

You can do it with CSS.  Find out how many pixels the border is (I'll assume 
1 for now).

IMG.corner { position:relative; top:-1px; left:-1px }

Then in the BODY

<IMG src="whatever.gif" class="corner">

This should move your image up one pixel and to the left one pixel.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA