sliding doors css gives unwanted white line

Discussion in 'CSS' started by ycc, Dec 11, 2009.

  1. #1
    Hello,

    I use an open source tabs (sliding doors) menu for navigation. Its origin is indicated in the source code.

    However, in Internet Explorer it adds a two pixel wide white line at the bottom. It looks particularly strange when placed on top of a black frame.

    I prepared a test-page for this forum. The test page consists of two frames: On top, the navigation tabs. The bottom frame is where the links are shown.

    http://web.telia.com/~u17103363/doc/tmp/main_tst.htm

    Please tell me how to get rid of the white line below the tabs in IE. I have heard of this problem before.

    Thanks

    ycc
     
    ycc, Dec 11, 2009 IP
  2. ycc

    ycc Peon

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Apologies for yesterday's post.

    I have now found that the white space can be removed as desired by setting the (IE-specific) framespacing attribute to zero. (I had only set framborder=0)
    What I was attributing to css was in fact the frame-border.

    Problem solved.

    Just left to kick myself in the rear ;)
     
    ycc, Dec 12, 2009 IP
  3. jwitt98

    jwitt98 Peon

    Messages:
    145
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for posting back the solution. This is one of those weird things someone might not necessarily think of.
     
    jwitt98, Dec 13, 2009 IP
  4. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #4
    We shouldn't have to think of it. Unless you're deliberately trying to make your site inaccessible to some people and completely inaccessible to search engines, and even then, nobody should be using frames to build web sites. The 1990's are over, and nobody's clamoring for them to return : )
     
    Stomme poes, Dec 16, 2009 IP
  5. ycc

    ycc Peon

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi everybody

    Thanks for the advice I got in the last thread, Stomme poes.

    I am no expert on this, but I thought the frames were useful for me on this occasion.

    I have a bundle of different pages I have made since more than ten years. I just wanted to make them accessible from my personal homepage so I took a tabbed navigation script and put in a small/low frame on top and there I put links to the different pages in a larger window below (link-targets/content in lower frame).

    A few of the pages also have to be accessible from other sites (like a few pages I have written in Swedish on Linux). I do not want back-navigation to my personal homepage from these pages.

    The pages now work independently and some link to each other in the lower frame. If I want I can go to a new subset of pages with the tabbed row on top.

    I can't see the problems in doing so.
     
    ycc, Dec 24, 2009 IP