icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » All Things Techy » Web Standards Design » Can't use IFRAME in XHTML 1.0 Strict, what can I use?

Web Standards Design Discuss accessibility, CSS, XHTML and more.

Reply
 
LinkBack Thread Tools Search this Thread
Old June 28th, 2007, 10:11 AM   #1 (permalink)
Registered User
Seasoned Poster
 
TheCaptain's Avatar
 
Joined in May 2007
Lives in Utah
Hosted on Pass61
71 posts
Gave thanks: 5
Thanked 0 times
Can't use IFRAME in XHTML 1.0 Strict, what can I use?

I have a few things that require the use of iframe. But that is not allowed in Strict. I have researched it and they say to use object, but I can not get it to show in IE7 when doing so.

Does anyone know what exact code I could get to show a form from another website (WuFoo forms).

Thanks
__________________
- Pass61
TheCaptain is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28th, 2007, 10:20 AM   #2 (permalink)
01101100
Super #1
 
markscns's Avatar
 
Joined in Jan 2006
Lives in West Michigan
Hosted on SH92
1,601 posts
Gave thanks: 49
Thanked 112 times
I am still using Iframes, and it it shows up in IE7 in XP:

Here is my code:

<table border="0" width="100%" align="center">
<tr>
<td><p><iframe src="xxxxxx.pdf" width="100%" style="height:40em">
[Your browser does <em>not</em> support <code>iframe</code>,
or has been configured not to display inline frames.
You can access <a href="xxxxxx">the document</a> via a link though.]</iframe></p>
</td>
</tr>
</table>


I am using: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
__________________
twinlakeweather.us SH92
markscns is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28th, 2007, 10:21 AM   #3 (permalink)
01101100
Super #1
 
markscns's Avatar
 
Joined in Jan 2006
Lives in West Michigan
Hosted on SH92
1,601 posts
Gave thanks: 49
Thanked 112 times
Is there a reason you need to use Strict verses transitional?
__________________
twinlakeweather.us SH92
markscns is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28th, 2007, 10:25 AM   #4 (permalink)
Registered User
Seasoned Poster
 
TheCaptain's Avatar
 
Joined in May 2007
Lives in Utah
Hosted on Pass61
71 posts
Gave thanks: 5
Thanked 0 times
Yeah I want to start using strict for my websites and move away from trans.

Does that code there validate for strict?
__________________
- Pass61
TheCaptain is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28th, 2007, 10:29 AM   #5 (permalink)
01101100
Super #1
 
markscns's Avatar
 
Joined in Jan 2006
Lives in West Michigan
Hosted on SH92
1,601 posts
Gave thanks: 49
Thanked 112 times
Quote:
Originally Posted by TheCaptain View Post
Does that code there validate for strict?
Not sure, but for the application here at work, I have to make sure it works as we get some content from our supplier that they want to keep on their servers.
__________________
twinlakeweather.us SH92
markscns is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28th, 2007, 10:40 AM   #6 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Hosted on Gojira
8,027 posts
Gave thanks: 48
Thanked 129 times
I posted this link last on the forum somewhere... http://bytesofstandards.com/2007/6/7...bye-bye-iframe

There's your solution!
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28th, 2007, 12:17 PM   #7 (permalink)
Registered User
Seasoned Poster
 
TheCaptain's Avatar
 
Joined in May 2007
Lives in Utah
Hosted on Pass61
71 posts
Gave thanks: 5
Thanked 0 times
H,

would there be a reason why this would not show up in IE7?

Here is the code I am using:

Code:
<object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" type="text/html" 
         data="http://louisvillefirefootball.wufoo.com/embed/2007-louisville-fire-season-ticket-form/" style="width:100%;height:1373px;">
    <p>Fallback text</p>
</object>
It works in Firefox, but not IE7. Have not checked IE6.

You can test at the site, http://www.louisvillefirefootball.com then click on tickets.
__________________
- Pass61
TheCaptain is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28th, 2007, 12:29 PM   #8 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Hosted on Gojira
8,027 posts
Gave thanks: 48
Thanked 129 times
I don't have IE to test it on, so I can't really help there. Though when I previously tested the method, it worked absolutely fine in IE.

What might help is knowing if it's not showing up at all or if it's displaying "Fallback text"?
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28th, 2007, 12:31 PM   #9 (permalink)
Registered User
Seasoned Poster
 
TheCaptain's Avatar
 
Joined in May 2007
Lives in Utah
Hosted on Pass61
71 posts
Gave thanks: 5
Thanked 0 times
it is not even showing the text, I see the text in the source code, but it is not showing.

It shows just fine in Firefox so not sure what is going on...
__________________
- Pass61
TheCaptain is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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
Trackbacks are On
Pingbacks are On
Refbacks are On