| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | Css Trouble 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> 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"} ????: NamePros.com http://www.namepros.com/programming/14827-css-trouble.html 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 |
| |