Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Css Trouble

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

adam_uk

Established Member
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
it worked!!! grrrr im useless as spottin mistakes


thanks mate
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back