Jump to content

Object Tag Not Working In IE?


cyber0ne

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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/

Link to comment
Share on other sites

Did you try the W3C Markup Validator?

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?

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"

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
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...