Posted: Sun Sep 10, 2006 3:05 pm Putting images to the top left corner with no buffer
I'm looking to create a "pop-up" which will display the image the user clicked on. I want it to put the image at the very top left hand corner so there's no space around it. I haven't been able to find anything on this.
then write a javascript function which sets the div to visible.
[/code]
dinvinci
Joined: 02 Oct 2006
Posts: 9
Posted: Tue Oct 03, 2006 6:54 am
If I'm understanding your question correctly, the div suggestion above doesn't directly answer your question. If you are using javascript/php to open a new html page containing your image, then you would set the body attributes of that new page to have margin/padding of 0. This is done either through Page properties in an html editor such as dreamweaver, or typed directly into the body tag of the page like this: