When I do my pop-up it has a blank white space above and to the left of the image. How do I remove this?
Printable View
When I do my pop-up it has a blank white space above and to the left of the image. How do I remove this?
look for the body tag in your html and set
<BODY MARGINWIDTH=0 MARGINHEIGHT=0 TOPMARGIN=0 BOTTOMMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0>
...with this you can set all your page borders to zero.
hope this helps!
Actually Im just popping an image:
function openwindow3()
{
window.open("washp.jpg","my_new_window","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=250,height=300,border=0")
}
Any other ideas?
yepp :) don't open directly an image (actually "washp.jpg").Quote:
Originally Posted by Rockwilda
Make a html file, and put the image in it. you know... <img src=""washp.jpg.......
and then write the above "<BODY ...." code in it.
It will be ok.