Results 1 to 2 of 2

Thread: Ajax Tabs Content script doesn't work on Firefox for me.

  1. #1
    Join Date
    Aug 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Tabs Content script doesn't work on Firefox for me.

    1) Script Title: Ajax Tabs Content script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tent/index.htm

    3) Describe problem: I set the width to 100% for .contentstyle. It shows up perfectly on IE7 but when I view it under Firefox the right border overlaps the limit. Please help.
    Last edited by binaryman209; 08-15-2007 at 12:47 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Actually, at a glance, this looks like the box model bug of IE (not Firefox). Does your DIV containing the loaded pages (<div class="contentstyle" id="ajaxcontentarea">) contain any CSS padding or margins? If so, in non buggy browsers such as Firefox, those values are added on top of the DIV's width, creating a width that's larger than 100&#37; in your case.

    You can try either removing the width: 100% declaration all together, or if that doesn't work, set it to something smaller than 100%, like 98%.

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
  •