- Impact
- 20
ok im trying to get my head round css (never really used it before)
ive manged to format my textbox using css (YAY) but this is really strange
my html document
my css
now when i view that that in frontpage to edit the css attaches to the textbox fine but when i preview it its gone! just a boring text ordinary text box
ive manged to format my textbox using css (YAY) but this is really strange
Code:
<html>
<head>
charset=windows-1252">
<title>ioi</title>
<link rel="stylesheet" type="text/css" href="new_page_1.css">
</head>
<body bgcolor="#333333">
<form method="POST" action="">
<input type="text" name="T1" size="20" class="textbox">
<textarea rows="9" name="S1" cols="46"></textarea>
</form>
</body>
</html>
my html document
Code:
BODY { color: #c0c0c0; font-family:Verdana; font-size:10pt;}
TEXTAREA { background-color: #444444; font-family:Verdana; font-size:10pt; color:#c0c0c0; }
.TEXTBOX { font-family: Verdana; font-size: 10pt; color: #444444; background-color: #000000"}
my css
now when i view that that in frontpage to edit the css attaches to the textbox fine but when i preview it its gone! just a boring text ordinary text box