Mostly Harmless

Mostly about my amusement

Object replaces iframe (and does not work in IE7 for this use)

Making the Google embedded code XHTML Strict was pretty easy and involved replacing <iframe> with <object> and massaging some of the parameters.

This works in Firefox and Opera. Naturally it does not work in Internet Explorer 7. There is a hack that might get it to work which I will keep fooling around with.

The iframe code validates and works fine in XHTML Transitional; I’m just playing with strict for grins.

Update: Using the <object> instead of <iframe> not only does not work in Internet Explorer 6 or 7, but locks that browser up.  I’ve put back the original iframe code.

« »

© 2018 Mostly Harmless. Theme by Anders Norén.