Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > XHTML Strict and iframes

XHTML Strict and iframes
Thread Tools
indigoimac
Senior User
Join Date: Feb 2003
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Aug 13, 2006, 06:41 PM
 
It is my understanding that iframes are no longer truly supported as part of XHTML strict, what is now considered to be the alternative.

Thanks
15" MacBook Pro 2.0GHz i7 4GB RAM 6490M 120GB OWC 6G SSD 500GB HD
15" MacBook Pro 2.4GHz C2D 2GB RAM 8600M GT 200GB HD
17" C2D iMac 2.0GHz 2GB RAM x1600 500GB HD
     
registered_user
Dedicated MacNNer
Join Date: Nov 2001
Location: Are Eye
Status: Offline
Reply With Quote
Aug 13, 2006, 06:50 PM
 
Putting the content in the document is the alternative, though iframe is not deprecated.
     
indigoimac  (op)
Senior User
Join Date: Feb 2003
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Aug 13, 2006, 08:40 PM
 
Originally Posted by registered_user
Putting the content in the document is the alternative, though iframe is not deprecated.
I probably should have gotten into more detail, as the content is really a very elaborate php script and it needs to run inside a wordpress blog thing, so I guess I'm sticking w/ an iframe though it is throwing my validation off.
15" MacBook Pro 2.0GHz i7 4GB RAM 6490M 120GB OWC 6G SSD 500GB HD
15" MacBook Pro 2.4GHz C2D 2GB RAM 8600M GT 200GB HD
17" C2D iMac 2.0GHz 2GB RAM x1600 500GB HD
     
Millennium
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Aug 14, 2006, 10:25 AM
 
Originally Posted by indigoimac
I probably should have gotten into more detail, as the content is really a very elaborate php script and it needs to run inside a wordpress blog thing, so I guess I'm sticking w/ an iframe though it is throwing my validation off.
That's very strange: iframe shouldn't be throwing off your validation.

Do you have a link? Validators aren't perfect when it comes to pinpointing exactly where errors occur, and so it's possible that the real error is somewhere else in your code, and the validator only happens to notice once it reaches the iframe.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
m4rtin
Junior Member
Join Date: Sep 2002
Location: Sydney, Australia
Status: Offline
Reply With Quote
Aug 15, 2006, 11:21 PM
 
Originally Posted by indigoimac
It is my understanding that iframes are no longer truly supported as part of XHTML strict, what is now considered to be the alternative.

Thanks
IFRAME's are not valid in XHTML strict, you are correct.

http://24ways.org/advent/transitional-vs-strict-markup
http://www.zvon.org/xxl/xhtmlReferen...omparison.html
etc etc

Word on the street is to use the OBJECT tag.

<object data="webpage.html" type="text/html">
Not supported alt
</object>
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:33 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,