Jump to content
cyber0ne

Object Tag Not Working In IE?

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

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

try replacing the "aspx?ProfileID" with "aspx?ProfileID"I don't think that should matter but its worth a try.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...