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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Browser Window Behavior

Status
Not open for further replies.

robleecock

Programmer
Joined
Jan 14, 2002
Messages
2
Location
US
I am using Dreamweaver 4 on a Mac. I am trying to create a
Popup window that is 300 x 400 with no margins, toolbars, sliders or anything else. I just want a window that is the exact size of the image which is 300 x 400. I used the behavior "Open Browser Window", specified the exact window size and made sure none of the attributes had a check next to them. In the HTML document that is to be opened, I specified
MARGINHEIGHT=0 TOPMARGIN=0 leftmargin=&quot;0&quot; marginwidth=&quot;0&quot; in the <BODY>. When I launch the popup window I'm still getting a white margin on the bottom and side of the image. This occurs in both Internet Explorer and Netscape. Can anyone
shed some light and help me get past this problem?

 
Hello robleecock!

I think the problem is probably in the way your code typed. Could you post the code of the page to be opened to see where the problem is.

Good Luck! :-)
 
Thanks for getting back to me EugenePaliey!

Here is the code for the page that is supposed to popup:

<html>
<head>
<title>Painting_1</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<body bgcolor=&quot;#CC0000&quot; text=&quot;#000000&quot; MARGINHEIGHT=0 TOPMARGIN=0 leftmargin=&quot;0&quot; marginwidth=&quot;0&quot;>
<table width=&quot;300&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; height=&quot;400&quot;>
<tr>
<td><img src=&quot;image_1.jpg&quot; width=&quot;300&quot; height=&quot;400&quot;></td>
</tr>
</table>
</body>
</html>

Thanks Again!
 
Everything is fine in this code!..

Are you sure that you open new window with width=300 and height=400? Good Luck! :-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top