Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 ...

  • #2
    New Coder
    Join Date
    Jun 2002
    Location
    England
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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`

  • #3
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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!

  • #4
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    i don't know if this is exactly what you want:

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

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •