Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Problem with Tabbed Document Viewer

  1. #11
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    I'm uncertain what you mean, but have you tried adding border attribute here:
    Code:
    #tablist li a{
    text-decoration: none;
    padding: 3px 0.5em;
    margin-left: 3px;
    border: 1px solid #778;
    border-bottom: none;
    background: white;
    }
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  2. #12
    Join Date
    Aug 2008
    Location
    Bermuda
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Both options you gave me affect the actual tabs. There is already a border around those and they are fine as they are.

    I want to put a border around the large box under the tabs.

  3. #13
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Quote Originally Posted by cathimac View Post
    Both options you gave me affect the actual tabs. There is already a border around those and they are fine as they are.

    I want to put a border around the large box under the tabs.
    Highlighted is the keyword, you mean to describe the iframe and not the tabs. It was definitely a misunderstanding on both parties.

    Anyway, for the fix, you can either choose from these two:
    • You can style all the iframe elements:
      Code:
      iframe{border:3px double #555;}
    • You can style the two iframes individually, by accessing the iframe's ID:
      Code:
      #tabiframe1{border:3px double #f00;}
      #tabiframe2{border:3px double #00f;}


    Hope it helps.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  4. #14
    Join Date
    Aug 2008
    Location
    Bermuda
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thank you! I got it working.
    Much appreciated for taking the time.

  5. #15
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I've managed to get the two IFRAMES working on the page, however for some bizarre reason the colours on the tabs do not match with the CSS. Any idea why this maybe? My test site is:

    http://www.met-monkey.co.uk/stormwatch.html

    The purple on the tabs should not be there, it should be white and the IFRAME at the top the mouse-over text link should not be white, but navy blue.

    Thanks for your help in advance, probably a real simple one this. I've checked the CSS though and I can't for the life of me see any problems.

  6. #16
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Please start a new thread if you haven't already.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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