SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    object scrollbars won't go away in IE in xhtml strict

    I am working on using 2 objects (would be iframes, but xhtml strict doesn't support them anymore):

    http://soundlightproductions.net/uploads/local/

    The objects are for the Local Weather section and the blue listing ad on the right side. FF displays just fine, but IE won't show the content, AND I can't get the scroll bars to go away.

    I have read numerous articles on this problem, and a few people have suggested answers. I have tried all of them and nothing works.

    Problems:
    1. Content doesn't display - would this be because the html I am trying to pull in has html tags and a doctype attached?
    2. The freaking scrollbars won't go away

    Please don't suggest that I change doctypes. The client wants xhtml strict, and the document currently validates as such.
    Last edited by musicory; May 20, 2008 at 11:07.

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,833
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    See http://www.felgall.com/noiframe.htm where I have an article on using object in place of iframe which discusses how to fix those things which are fixable and identifies those things that are not. Scrollbars only appear in IE6 and can be fixed by applying appropriate styles to the page contained in the object. The things that can't be fixed for IE are the IE7/8 borders and the fact that objects are always in front in IE (except where the object contains Flash where the wmode can be used to fix it).
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •