cyber0ne 0 Posted November 7, 2005 Report Share Posted November 7, 2005 In writing a couple small websites for some friends, I'm trying to keep everything conforming to XHTML 1.0 Strict. However, some installs of IE don't seem to be rendering my object tag, forcing me to use an iframe tag. The object tag I'm trying is as follows (sorry for any wrapping):<object type="text/html" data="http://www.housevalues.com/AgentSellerLeadCapture.aspx?ProfileID=XmXmSdpLGX" width="650" height="700"></object>All non-IE browsers I test render it just fine. Some installs of IE render it fine, some don't (specifically, my computer at work and my friend's computer... and likely some of his potential customers).Any ideas what would be wrong with this tag, or what I can do to make it more universal across IE installs? I'd really like to keep it Strict, but an iframe would force me to use Transitional.-cyber0nehttp://www.cyber0ne.com Quote Link to post Share on other sites
XMLTorrent 0 Posted November 17, 2005 Report Share Posted November 17, 2005 Did you try the W3C Markup Validator? If you try that with the Strict Doctype declaration, it can tell you what's wrong with the tag. If you have to, you might have to drop down to Transitional. Here is the link to the Markup Validator:http://validator.w3.org/ Quote Link to post Share on other sites
F-Man 0 Posted November 17, 2005 Report Share Posted November 17, 2005 I tested this code with IE 5.0, 5.5 and 6.0 and had no problem. Are you using IE:mac? Quote Link to post Share on other sites
Skemcin 13 Posted November 17, 2005 Report Share Posted November 17, 2005 try replacing the "aspx?ProfileID" with "aspx?ProfileID"I don't think that should matter but its worth a try. Quote Link to post Share on other sites
cyber0ne 0 Posted November 17, 2005 Author Report Share Posted November 17, 2005 Did you try the W3C Markup Validator?<{POST_SNAPBACK}> Validates as XHTML 1.0 Strict. No warnings or anything.I tested this code with IE 5.0, 5.5 and 6.0 and had no problem. Are you using IE:mac?<{POST_SNAPBACK}> That's the strange part. IE at work renders it, IE at home and on the client's computer does not. Can't say for sure about the client's computer, but my work and home computers are both WinXP Pro with IE 6.0 and both fully patched from Windows Update. There should be no serious difference between the two.try replacing the "aspx?ProfileID" with "aspx?ProfileID"<{POST_SNAPBACK}> No change.It's really more of a pet peeve than anything else. I'm trying to move everything I have to XHTML 1.0 Strict (an enormous undertaking for my personal site, but should be easy on these little sites I host) and standardize everything across the board. I mean, the iframe tag works, but it's just my personal preference to go Strict.But, if it's not rendering on some machines, then it's useless to the client.:::shrug:::Regards,David P. Donahueddonahue@ccs.neu.eduhttp://www.cyber0ne.com Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.