NameSilo

Css Trouble

Spaceship Spaceship
Watch
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

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
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Hey it looks like the problem could be right here near the end of the second line: #000000"}

It looks like you have a mismatch set of quotation marks. :D

Try taking that one out or matching it up. :webdev:
 
0
•••
it worked!!! grrrr im useless as spottin mistakes


thanks mate
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back