SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool XHTML Strict alternative to iframe !

    This is to continue from the post I read here: http://www.sitepoint.com/forums/show...tive-to-iframe

    Almost everyone that responded frustrated me SOO much that I joined to reply - only to find it is a closed subject. No one really helped. If you have comments such as 'just go transitional' then DONT EVEN BOTHER!
    Obviously he would have considered that! Did you not think that maybe he spent HOURS changing his code to Strict to find only one bit makes him need to go back to transitional?

    There is a REAL solution. Tested in Strict and +RDFa.

    HTML Code:
    <!--[if !IE]><!-->
    	<object data="http://www.link.com/" type="text/html" width="320" height="240"></object>
    <!--<![endif]-->
    <!--[if IE]>
    	<iframe frameborder="0" src="http://www.link.com/" width="320" height="240"></iframe>
    <![endif]-->
    Last edited by ralph.m; Mar 13, 2013 at 07:38. Reason: removed unnecessary language


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
  •