...

View Full Version : Iframe Spacing Trouble!



EJames
07-03-2002, 09:00 AM
OK, IFRAMES...

ALRIGHT WELL I'VE WORKED WITH IFRAMES FOR A LITTLE WHILE, BUT LIKE EVERYTHING ELSE, IM NOT TOO ADVANCED WITH THEM. HERE IS THE PROBLEM, WHEN I PLACE AN IFRAME ON MY WEBPAGE THERE IS STILL A CONSIDERABLE AMOUNT OF SPACE BETWEEN THE BORDER AND THE PAGE THE IFRAME IS DISPLAYING. NOW I MOVED THE TEXT (THE PAGE DISPLAYED BY THE IFRAME IS JUST TEXT) ON THE PAGE THAT THE IFRAME SHOWS ALL THE WAY TO THE TOP LEFT CORNER BUT STILL THE SPACE IS THERE. IF ANYONE KNOWS OF A WAY TO RIDE THE IFRAME OF THIS SPACE PLEASE RESPOND. THANK YOU!

...I JUST WANT TO MAKE A WEBSITE :( ...

Sp00kY
07-03-2002, 09:10 AM
Inside the body tag of the HTML document inside the iframe do this...

<body topmargin="0" leftmargin="0">

I think that's the space that you want removed.

(If you're using DIV functions though, topmargin and leftmargin will make no difference, but I don't want to confuse you, so if you have no idea what a DIV function is, ignore this statement.)

Peace \/

EJames
07-03-2002, 09:18 AM
SORRY, THAT DOESN'T WORK. I CAN'T THINK OF THE PROBLEM HERE, SO IF ANYONE STILL OUT THERE KNOWS POST A REPLY. THANK YOU!

glenngv
07-03-2002, 09:46 AM
i don't know if this is exactly what you want:

<iframe marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' ...>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum