iframe not w3c compliant

Please support our HTML and CSS advertiser: $6.99 Domain Names at 1&1. Includes Free Privacy. Save Now!
Thread Solved

Join Date: May 2009
Posts: 10
Reputation: CS_Swan is an unknown quantity at this point 
Solved Threads: 0
CS_Swan CS_Swan is offline Offline
Newbie Poster

iframe not w3c compliant

 
0
  #1
Aug 7th, 2009
first off I am shocked that I can not find any information on this yet.


I am trying to make the swap from html 4.1 transitional to xhtml strict.
the client wants to place his google spreadsheet on the website
the only option offered to embed is <iframe> which of course is not supported.

any ideas?
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 17
Reputation: omniuni is an unknown quantity at this point 
Solved Threads: 2
omniuni's Avatar
omniuni omniuni is offline Offline
Newbie Poster

Re: iframe not w3c compliant

 
0
  #2
Aug 7th, 2009
Really? Not supported? I just checked one of my own pages, and it validated as XHTML with an IFrame. I Just had to adjust Google's code to use "&amp;" instead of just "&"
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 17
Reputation: omniuni is an unknown quantity at this point 
Solved Threads: 2
omniuni's Avatar
omniuni omniuni is offline Offline
Newbie Poster

Re: iframe not w3c compliant

 
0
  #3
Aug 7th, 2009
Originally Posted by omniuni View Post
Really? Not supported? I just checked one of my own pages, and it validated as XHTML with an IFrame. I Just had to adjust Google's code to use "&amp;" instead of just "&"
Whoops! I'm wrong. You need to use the OBJECT tag like this:

  1. <object data="http://example.com" style="width: 600px; height: 400px;">
  2. </object>
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,266
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 170
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: iframe not w3c compliant

 
0
  #4
Aug 11th, 2009
There is a separate w3c frameset doctype if you want frames in xhtml.

Frames are deprecated in the strict xhtml doctype.
Last edited by MidiMagic; Aug 11th, 2009 at 9:56 pm.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 17
Reputation: omniuni is an unknown quantity at this point 
Solved Threads: 2
omniuni's Avatar
omniuni omniuni is offline Offline
Newbie Poster

Re: iframe not w3c compliant

 
0
  #5
Aug 11th, 2009
IFrames are not the same as a frameset. An IFrame is still quite acceptable to use, where a frame is simply depreciated.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum


Views: 1061 | Replies: 4
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC