Results 1 to 4 of 4

Thread: firefox and IE complications with iframes

  1. #1
    Join Date
    Nov 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default firefox and IE complications with iframes

    Hi

    Wonder if someone can help?
    Im creating an iframe in a certain location on a page. I have an issue, i set scrollbar to auto and the horizontal scrollbar is removed , for firefox, but it appears in IE6 (but is ok in IE7).
    If i make the scrollbar = yes then the scrollbar disappears in IE6 and 7 which is great! but then reappaers infirefox.

    Any ideas?

    Do i need some code to identify what browser and version type a person is using? Can i then get the code to hence use a different style sheet for firefox and a different style sheet for Explorer?

    If this is what i need to do, can someone point me somewhere where i can find this code?

    Kindest regards
    Neil

  2. #2
    Join Date
    Nov 2006
    Location
    Pirassununga/SP Brazil
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Why instead doing diferents lay-outs to IE n Firefox (and others???), Why don't you program it to switch to all browsers????

    It's simple: Go to http://validator.w3.org/ and validate your page's HTML code first. After correcting them, (only after) you validate the CSS code.

    Do the same to the page Iframe recalls.

  3. #3
    Join Date
    Nov 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is there a piece of code that allows me to identify whcih browser and version is being used?

    If so can i not then tell it to pick up a duplicate style sheet, with the change IE: scrollbar=auto instead of scrollbar=yes. This way my layout will work in both FF and IE 6 and 7

    Thanks
    Neil

  4. #4
    Join Date
    Nov 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    JUst to clarify, i only have one layout!

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
  •