OZONE Asylum
Forums
Stupid Basic HTML
iframe (and I use the term loosely) in an html4.01 strict doctype?
This page's ID:
31534
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I have some existing code that I have been tasked with upgrading to a valid doctype of HTML4.01 strict. [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> [/code] In the code I've come across an <iframe>, and this does not sit well with the [url=http://validator.w3.org]w3 validator[/url]. [code] <iframe OnLoad="javascript: LoadAddAttachmentiFrame('Stock-Attachment-135','/cgi-bin/Xebra?UploadAttachment&s=gnfhcjt7&itemIdentifier=Stock-Attachment-135','gnfhcjt7');" src="/xebrajustadiv.htm" frameborder=0 id="Stock-Attachment-135-AttachFrame" name="Stock-Attachment-135-AttachFrame" width="525" height="10"> </iframe> [/code] The [url=http://validator.w3.org]w3 validator[/url] even seems to claim that <iframe> is not included the html 4.01 strict doctype. Now I've been to [url=http://www.velocityreviews.com/forums/t658990-iframe-validation-issues.html] another website[/url] where they claim that there is infact another way to embed content within another document. Unfortunately it requires that you use two different methods (one for IE and one for all other browsers); IE uses an ActiveX Object, and the rest of the browsers use an <object> tag. Additionally the site seems to be refering to an xhtml doctype and not the html 4.01 strict doctype that I am referring to myself. I don't know what the correct way to embed this content into my html 4.01 strict doctype would be, and additionally I'm concerned that the Javascript that is meant to be called in the onload attribute of the <iframe> tag will not work with the methods suggested in [url=http://www.velocityreviews.com/forums/t658990-iframe-validation-issues.html]the website[/url]; using the ActiveX control for IE and <object> tag for all other browsers. So what would the correct way be to embed content within content in an html 4.01 strict doctype? (no I didn't pick the doctype, my boss did). [IMG]http://i9.photobucket.com/albums/a58/Maskkkk/maskkkkaroni.png[/IMG] - AIM: MASKKKK [url=http://nickciske.com/tools/binary.php] 01001101011000010111001101101011011010110110101101101011[/url] [small](Edited by [url=http://www.ozoneasylum.com/user/1957]Maskkkk[/url] on 12-11-2009 15:18)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »