HTML & CSS
This works well in Chrome and Firefox but fails in IE8.
<p>Sorry . . . there is a temporary problem with our search engine. We are working on it.</p></object>
Also, I've looked at lots of information regarding <iframe> and <object> and it appears to be a draw on which one to use.
Guidance please . . .
Thanks . . . Rick
Are you sure you aren't supposed to be writing: [...]<Search>"> plus the frameborder is not valid for OBJECT. Unfortunately I don't have IE8.
That code is gibberish -- filled with attributes that don't even EXIST on object, filled with tags that don't even exist in ANY spec, improper/invalid closing tags...
What are you even trying to do here?!? I mean, I tried adding formatting to it and you either don't close object properly or are sending tags as values to an attribute -- whatever it is you're attempting shouldn't actually work in ANY browser.
Most of that code is inside of the data attribute and so would be processed by whatever it is the object is running.
It does look like that data contains XML tags with the search tag not being closed properly at the end. The < inside the attribute may need to be entered as < so as to ensure that they get treated properly as part of the data attribute instead of as tags.
Which I think is what was messing me up -- and probably confusing the browsers too.. the < shouldn't be as much of a concern as the closing >, since even without the closing double quote the first > SHOULD by the structural rules (due to HTML's absurdly loose formatting rules) be the end of the object tag, even with the preceeding <
Honestly if you have to pass that much data via GET in the URL, there's something disastrously bad with whatever is being run on the back-end... though that's typically a given with anything aspx.
See: http://www.sitepoint.com/forums/showthread.php?807386 if you really want to know what Rick was attempting.
No, it shouldn't.
This topic is now closed. New replies are no longer allowed.