weee
08-16-2005, 09:59 PM
I have this weird color going up the form. You can't see it in FF - only in IE.
What is that? How can I get rid of it?
This is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style>
form {margin: 0px;}
input, textarea {margin: 0px; background: url(../imgs/b_input_shadow.jpg); background-repeat: no-repeat; border: 1px solid #005993; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; padding: 2px 5px; color: #0079c8; margin: 2px;}
input.button {background-color: #00bcfa; border-color: #0079c8; color: #fff; padding: 1px 5px;}
fieldset {background-color: #b8d6ff; border: #26a solid 1px; margin: 0px 20px 10px 0px; padding: 10px; width: 365px;}
fieldset label {float: left; width: 180px; padding: 3px 0;}
fieldset label span {display: block; padding: 0px 0px 2px 4px;}
label {display: block;}
legend {background-color: #fff; color: #BD3242; margin: 0px 2px; padding: 2px 4px;}
</style>
</head>
<body>
<form name="theForm" action="default.asp" method="post">
<fieldset>
<legend>Contact Details</legend>
<label>
<span>Full Name</span>
<input type="text" name="fullName" id="fullName"/>
<span>Message</span>
<textarea id="message" name="message" rows="3" cols="40"></textarea>
</label>
</fieldset>
</form>
</body>
</html>
Thanks!
What is that? How can I get rid of it?
This is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style>
form {margin: 0px;}
input, textarea {margin: 0px; background: url(../imgs/b_input_shadow.jpg); background-repeat: no-repeat; border: 1px solid #005993; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; padding: 2px 5px; color: #0079c8; margin: 2px;}
input.button {background-color: #00bcfa; border-color: #0079c8; color: #fff; padding: 1px 5px;}
fieldset {background-color: #b8d6ff; border: #26a solid 1px; margin: 0px 20px 10px 0px; padding: 10px; width: 365px;}
fieldset label {float: left; width: 180px; padding: 3px 0;}
fieldset label span {display: block; padding: 0px 0px 2px 4px;}
label {display: block;}
legend {background-color: #fff; color: #BD3242; margin: 0px 2px; padding: 2px 4px;}
</style>
</head>
<body>
<form name="theForm" action="default.asp" method="post">
<fieldset>
<legend>Contact Details</legend>
<label>
<span>Full Name</span>
<input type="text" name="fullName" id="fullName"/>
<span>Message</span>
<textarea id="message" name="message" rows="3" cols="40"></textarea>
</label>
</fieldset>
</form>
</body>
</html>
Thanks!