Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to get rid of border area inside of Pop-up Window

Status
Not open for further replies.

Ineedjava

Technical User
Apr 14, 2001
21
US
I'm using pop-up windows to display photos. I'm generating the new window using the window.open command.

There is a default border area (not specified in my javascript) that is in between the edge of the photo and the edge of the window. How do I get rid of this area so that the edge of the window is flush against the edge of the photo?
 
The popup window should be the same size as the size of the photo? So if your photo-height=270 and photo-width=300

window.open('yourpage.htm', 'name', height=270,width=300')

If this is not the solution, then post your code and we can see.

Erik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top