wright67uk Posted December 30, 2012 Share Posted December 30, 2012 Before I go posting long lines of html/php... is there anything that stands out that could upset IE in this css or should I be looking a little deeper? (I have a few inline styles in my form) and also are there any important do's and dont's when styling a form for cross browser compatability? For anyone who fancies taking a look at the misery i'm facing my url is http://www.treequoter.com/enter_snag_score.php <style type="text/css"> input[type=text] {width: 40px} #formwrap {background-color:#0CC; width:300px; margin-left:auto; margin-right:auto; -moz-border-radius: 15px; border-radius: 15px; padding-left:40px; min-height:400px; } input.clip {background-color:#0CC; color:#fff; font-family:Tahoma, Geneva, sans-serif; font-weight:bold;} h2.location {color:#fff; font-family:Tahoma, Geneva, sans-serif; font-weight:bold;} </style> Quote Link to comment https://forums.phpfreaks.com/topic/272527-cross-browser-form-styling/ Share on other sites More sharing options...
Medavidcook Posted January 2, 2013 Share Posted January 2, 2013 nothing points out to cause any problems, however one thing i noticed that might cause a problem is,in your html after form you have - but your css style has nothing of this, it can cause a problem later on down the line.hope this helps Quote Link to comment https://forums.phpfreaks.com/topic/272527-cross-browser-form-styling/#findComment-1402715 Share on other sites More sharing options...
wright67uk Posted January 2, 2013 Author Share Posted January 2, 2013 All sorted. I didn't declare a doctype. Thanks for the reply. Quote Link to comment https://forums.phpfreaks.com/topic/272527-cross-browser-form-styling/#findComment-1402716 Share on other sites More sharing options...
Medavidcook Posted January 2, 2013 Share Posted January 2, 2013 that would be it but only seeing part of work wouldnt know that. Quote Link to comment https://forums.phpfreaks.com/topic/272527-cross-browser-form-styling/#findComment-1402718 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.