Results 1 to 5 of 5

Thread: Bug in the Iframe height related to IE8

  1. #1
    Join Date
    Jan 2009
    Posts
    71

    Bug in the Iframe height related to IE8

    Hi,

    When I had communication with my colleague regarding Internet Explorer 8 about its New feature and the drawback that time I come to know that there is Bug in the Iframe height related to IE8,Is that True, I would like to hear more from you Friends.

    Appreciates you Opinion.

  2. #2
    Join Date
    Feb 2008
    Posts
    137

    Re: Bug in the Iframe height related to IE8

    Yes, whatever have u heard is true but just have a look at the following which will help you understand.

    http://htmlhelp.com/reference/html40...al/iframe.html

    The IFRAME element defines an inline frame for the inclusion of external objects including other HTML documents. IFRAME provides similar functionality to OBJECT. One advantage of IFRAME is that it can act as a target for other links. However, OBJECT is included in HTML 4 Strict while IFRAME is not.

    IFRAME's SRC attribute provides the location of the frame content--typically an HTML document. The optional NAME attribute specifies the name of the inline frame, allowing links to target the frame.

    The content of the IFRAME element is used as an alternative for browsers that are not configured to show or do not support inline frames. The content may consist of inline or block-level elements, though any block-level elements must be allowed inside the containing element of IFRAME. For example, an IFRAME within an H1 cannot contain an H2, but an IFRAME within a DIV can contain any block-level elements.

    The LONGDESC attribute gives the URI of a long description of the frame's contents. This is particularly useful for full descriptions of embedded objects. Note that LONGDESC describes the frame content while the content of the IFRAME element acts as a replacement when the external resource cannot be inlined.

  3. #3
    Join Date
    Oct 2008
    Posts
    180

    Re: Bug in the Iframe height related to IE8

    Wait why are you using a frameset doctype? Just because you are using an iframe doesn't mean you need to use a frameset doctype. In fact an iframe is normal HTML. Its not a frameset. Once you find the proper doctype to use. Either transitional or strict you will need to set the html and body to a height of 100% in the CSS.

  4. #4
    Join Date
    Feb 2008
    Posts
    129

    Re: Bug in the Iframe height related to IE8

    What you could do is display the iframe in a table, and set the height and width of the table, then set the height and width of the iframe to "auto".

  5. #5
    Join Date
    Dec 2008
    Posts
    70

    Re: Bug in the Iframe height related to IE8

    I've tried styling the iframe directly. Again, in IE this works fine, but in Firefox the height seems determined to stay incorrect if I use a percentage value.

    I keep thinking I must be doing something wrong if what I'm doing works in IE but not a Mozilla browser. Apart from having to add <body style="height:100%; margin:0px;">, IE is rendering how I would expect a browser to from my understanding of CSS, whereas Firefox is not.

    So perhaps I've just misunderstood CSS.

Similar Threads

  1. How to know height of row in Excel?
    By Dipanwita in forum Windows Software
    Replies: 2
    Last Post: 04-01-2012, 07:19 PM
  2. What is Mal/Iframe-E?
    By Hecter in forum Networking & Security
    Replies: 4
    Last Post: 04-02-2010, 05:46 AM
  3. MAX width and max height of a image using css
    By Rutajit in forum Software Development
    Replies: 2
    Last Post: 22-05-2009, 07:30 PM
  4. How to use iFrame?
    By Jason Bourne in forum Software Development
    Replies: 4
    Last Post: 18-05-2009, 06:13 PM
  5. Variable height in CSS
    By Sentential in forum Software Development
    Replies: 8
    Last Post: 22-10-2008, 02:51 PM

Tags for this Thread

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
  •  
Page generated in 1,711,643,048.87722 seconds with 17 queries