I have this iframe in use:
<iframe src="includes/captcha/display_captcha.php" id="captcha" scrolling="no" marginheight="0"></iframe>
Validation fails on scrolling and marginheight – everyone knows these are now obsolete.
I have tried & google searched all sorts of solutions to switch these inline formating into CSS but nothing works in all browsers.
You can see the captcha image here (from above) – http://www.flirtwithme.co – if you interested.
Is it possible to replace these 2 commands successfully in CSS and control the iframe or is this just not possible yet?
thankyou
If you just want to be valid HTML5 you want seamless. see http://www.quackit.com/html_5/tags/html_iframe_tag.cfm
This is not currently supported by any browsers so for functionality you must keep using invalid attributes until browsers catch up to the standard.