Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-03-2002, 09:00 AM   PM User | #1
EJames
New to the CF scene

 
Join Date: Jul 2002
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
EJames is an unknown quantity at this point
Angry Iframe Spacing Trouble!

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 ...
EJames is offline   Reply With Quote
Old 07-03-2002, 09:10 AM   PM User | #2
Sp00kY
New Coder

 
Join Date: Jun 2002
Location: England
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Sp00kY is an unknown quantity at this point
Thumbs up

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 \/
__________________
`Sp00kY`
Sp00kY is offline   Reply With Quote
Old 07-03-2002, 09:18 AM   PM User | #3
EJames
New to the CF scene

 
Join Date: Jul 2002
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
EJames is an unknown quantity at this point
NOT IT...

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!
EJames is offline   Reply With Quote
Old 07-03-2002, 09:46 AM   PM User | #4
glenngv
Supreme Master coder!


 
glenngv's Avatar
 
Join Date: Jun 2002
Location: Los Angeles, CA Original Location: Philippines
Posts: 10,241
Thanks: 0
Thanked 112 Times in 111 Posts
glenngv will become famous soon enough
i don't know if this is exactly what you want:

<iframe marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' ...>
__________________
Glenn
_____________________________________________
Play Tower of Hanoi Android app (Ad-FREE!)
Play Tower of Hanoi Android app (FREE!)
Go to Tower of Hanoi Leaderboard
Play Tower of Hanoi Facebook app
glenngv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:06 PM.


Advertisement
Log in to turn off these ads.