Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    oak is offline
    New to the CF scene
    Join Date
    Feb 2005
    Melbourne, Australia
    Thanked 0 Times in 0 Posts

    iframe in table cell - unwanted white space on right hand side


    First off this looks like a really valuable forum - stumbled on it and the dozen or so threads I've read have looked really high quality.

    Ok, so enough of the sucky intro

    I'm sure I've solved this in the past (and should have noted the solution down of course!), so I'm hoping someone can quickly clarify where the problem is coming from....

    The actual operating page is complex, involving xml, xsl, js, css & html, however the problem can be illustrated with even a simple html doc - I've attached (or at least hope I have!) as a txt file as I'm still figuring out how to post code nicely

    With a one cell table, where there is an iframe inside the cell, and I believe I've set all width attributes to 100% it's rendered by the browser (currently testing IE 6 - mozilla/firefox testing later...) with a blank area to the right of the iframe.

    Can this be prevented using css/html (pref. not js)?

    p.s. I know tables and iframes aren't the best solution to inline content, however I need to make the site easily maintainable by the non-web-savy and simply having a source doc in an iframe seems pretty simple!
    Attached Files Attached Files

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    In a place far, far away...
    Thanked 1,043 Times in 1,019 Posts
    could this blank area be the scrollbar! your html,body css should look something like this
    <style type="text/css">
    html,body {

    and y you are using an iframe in this case i dont know, would be simple just to edit the html directly dont u think, o well, and to post coding you would use the code tags
    [ code]your coding[ /code] without the spaces


    Posting Permissions

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