Forums
This topic is locked
Creating a windowed site without borders
Posted 08 Aug 2002 19:49:44
1
has voted
08 Aug 2002 19:49:44 James Birchmore posted:
I am trying to create a windowed site for a client, however every time I load the graphic/page into the newly created window there is always a white border along the top and left hand side of the window.The window is created with the exact same dimensions as the graphic to fit in the window
The code I use to open the new window is below
a href="javascript:;" onMouseOver="MM_openBrWindow('main.html','Main','width=780,height=560')
I have tried centering the image and placing it in a table but the borders still keep appearing
Any help or ideas would be greatly appreciated
Thanks in advance
- J
Replies
Replied 09 Aug 2002 12:52:47
09 Aug 2002 12:52:47 Dave Thomas replied:
Add this in your opening tag:
leftmargin="0" topmargin="0"
"Get the kettle on, time for a brew"
Edited by - UltraDav on 09 Aug 2002 12:54:15
leftmargin="0" topmargin="0"
"Get the kettle on, time for a brew"
Edited by - UltraDav on 09 Aug 2002 12:54:15
Replied 09 Aug 2002 16:38:56
09 Aug 2002 16:38:56 James Birchmore replied:
Cheers UltraDav
I added the tags you suggested to the body tag of the new window that is created. It worked perfectly.
I am now going to try doing it with a style sheet instead
-J
I added the tags you suggested to the body tag of the new window that is created. It worked perfectly.
I am now going to try doing it with a style sheet instead
-J