Jump to content

Cross Browser Form Styling


wright67uk

Recommended Posts

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> 

Link to comment
https://forums.phpfreaks.com/topic/272527-cross-browser-form-styling/
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.