PDA

View Full Version : No Margins in HTML


holtzy
04-06-2003, 01:38 AM
This has to be easy, but how do I remove the top & left margins on a geturl/javascript popup window? Here's my code...getURL("javascript:window.open('http://www.mysite.com','testing','menubar=no,resizable=no ,toolbar=no,directories=no,location=no,scrollbars= no,width=325,height=325'); void(0);");It's giving me about a 25 pixel margin on both top & left. How do I set them to zero?

CyanBlue
04-06-2003, 04:22 AM
Hey... Where have you been, my man??? ;)

Try this in the body tag of your HTML file...<BODY bgcolor="#FFFFFF" TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>

holtzy
04-06-2003, 04:12 PM
I've been slacking off. I'm getting close to finishing this project, but I can't launch in for another month anyway because of circumstances...so I took a break. It's good to be back though. Looks like you're still pluggin away helping everybody. You are the man!

About the margins...I would put it in the html doc & that would solve my problem, but I'm calling a jpeg directly. So I don't have the html to edit...

CyanBlue
04-06-2003, 08:19 PM
Hm... What kind of secret project were you working on while you were slacking off out there??? Show us what you got pretty soon... ;)

As for the JPEG file in the browser... Maybe my memory doesn't serve me that much anymore, but I think I have seen that question somewhere, which I can't find it at the moment, and I think the answer was to HAVE HTML file that calls JPEG file with that margin settings... So, basically you gotta have some sort of container that you can edit... Why not create a HTML file dynamically??? That should solve the problem??? ;)

As for the helping hand... Um... Until I get the job... That's where my limit is, but I don't know when that will be... Keep your fingers crossed for me, would you??? :(

holtzy
04-06-2003, 09:53 PM
I was trying to avoid having to pass another variable & figured I'd just call the jpeg direct, but the margins bother me. Oh well, I'll get some other opinions & I might just leave the margins.

I might need to contract out some Flash work soon. I won't know for a couple more months though...