Log In · Register

 
changing stuff in textarea?
miszxjojo
post Mar 19 2009, 05:53 PM
Post #1


Senior Member
*****

Group: Member
Posts: 354
Joined: May 2007
Member No: 526,982



i know how to get the code to change the font in a textarea box. like i want it with a border, and a different font so i put in the code. but when i do, my page gets messed up and my extened background thing (idk what it's called? but its this: http://i40.tinypic.com/xp3pd1.png) and my header image, doesn't line up right. but when i deleted the code i added and changed it back to what it was, everythings fine...

the code i have now is:
textarea, input {
width : 140px;
}

the one i used is:
textarea {font-family:tahoma;
font-size: 8px;
line-height: 9px;
font-weight: normal;
text-transform: none;
text-align: center;
color: 000000;
width: 140px;
height: 30px;
background-color: ffffff;
border: 1px dotted;
border-color: 000000;}
 
 
Start new topic
Replies
Melie
post Mar 19 2009, 06:01 PM
Post #2


Melieized
******

Group: Official Designer
Posts: 1,372
Joined: Nov 2006
Member No: 478,715



can't you do something like:

CODE
<textarea rows="2" cols="20" color="red" font size="3">
At W3Schools you will find all the Web-building tutorials you need, from basic HTML to advanced XML, SQL, ASP, and PHP.
</font></textarea>


i dunno but it's worth a shot
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: