changing stuff in textarea? |
changing stuff in textarea? |
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;} |
|
|
|
![]() |
Mar 19 2009, 07:26 PM
Post
#2
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
You realize that you need a <html> tag at the very beginning of the code and </html> tag at the very end of it. Also, you missing a </body> tag.
Try this: CODE <html>
<head><LINK REL="SHORTCUT ICON" HREF="http://i41.tinypic.com/eq89vn.png"></head><script language="javascript">var titletext="loveburst @ h3iresslyts.net ! <3";var repeat=true;var index=0;function scrolltitle(){if(index<=titletext.length){ document.title=titletext.substring(0,index);index++;setTimeout('scrolltitle()', 200);}else{index=0;if(repeat)setTimeout('scrolltitle()',1000);}}window.onload=function(){if(!document.layers)setTimeout('scrolltitle()',1000);}</script><style type="text/css"> body { background :#d5d5d5 url("http://i40.tinypic.com/xp3pd1.png") repeat-y; } td, p, body, a { color : #2b2b2b; font-family : tahoma;font-size : 11px;text-align : left;text-transform: none;line-height:10px;} a:active, a:visited, a:link { font-size : 11px;color : #2b2b2b;font-family : tahoma;font-weight : normal;text-decoration : none;text-transform: none;line-height: 10px;}a:hover {font-size : 11px; color : #9ad5ff; font-family : tahoma;font-weight : normal;text-decoration : none;text-transform: none;line-height: 10px;}a.nava, a.nava:link, a.nava:active, a.nava:visited {text-decoration:none;display:block;line-height:10px;text-align:center;}a.nava:hover {color: #8b8b8b; text-decoration:none;display:block;line-height:10px;text-align:center;letter-spacing: none;}a.navb, a.navb:link, a.navb:active, a.navb:visited {text-decoration:none;display:block;line-height:10px;text-align:center;letter-spacing: none;}a.navb:hover {color: #6a6a6a; text-decoration:none;display:block;line-height:10px;text-align:center;letter-spacing: none;}a:link img { border : none;} a:visited img { border : none;} a:hover img { border : none;} h1 { margin: 0 0 .3em 0; color: #464646; font-family: georgia; font-size: 28px; background-image:url(""); display:block;border-bottom: 1px dotted;font-weight: bold;border-color: #bcbcbc;text-align: center; font-weight: normal; font-style:italic;letter-spacing: -2px; text-transform: lowercase; line-height: 27px;}h1:first-letter {color:#ccffa0; text-transform:none;font-weight: normal;}} b {color :#ff82da;}s {color:#9ad5ff;}i {color:#ff82c7;} u {color:#cc99ff; border-bottom: 1px dashed; border-color: #2d2d2d;} h2 {margin: 0 0 .0em 0; color: #464646; font-family: georgia; font-size: 20px; background-image:url(""); display:block;border-bottom: 1px dotted;font-weight: bold;border-color: #bcbcbc;text-align: center; font-weight: normal; font-style:italic;letter-spacing: -2px; text-transform: lowercase; line-height: 19px;}h2:first-letter {color:#6ac1ff; text-transform:none;font-weight: normal;}}textarea, input { width : 140px;} #header {position:absolute; left:0px; top: 0px;}#sidebar {position:absolute; top:444px; left:31px; width:175px;}#sidebar2 {position:absolute; top:444px; left:669px; width:175px;}#content {position:absolute; top:444px; left:213px; width:448px;}</style><body><div id="header"><IMG SRC="http://i44.tinypic.com/mb63ae.png"></div> </body> </html> |
|
|
|
miszxjojo changing stuff in textarea? Mar 19 2009, 05:53 PM
Aberisk can you post the HTML as well? it your CSS seems t... Mar 19 2009, 05:56 PM
Melie can't you do something like:
CODE<textare... Mar 19 2009, 06:01 PM
miszxjojo the code i have is
CODE<head>
<LINK REL=... Mar 19 2009, 07:03 PM
miszxjojo CODE<html>
<head>
<LINK REL="S... Mar 19 2009, 07:53 PM
Aberisk I figured out the problem, in your CSS, on your h2... Mar 19 2009, 08:08 PM
miszxjojo thank you thank you thank you!
it works :D Mar 19 2009, 08:18 PM
Aberisk yo welcome :] Mar 19 2009, 08:21 PM
manny-the-dino Topic Closed & Moved Mar 19 2009, 09:54 PM![]() ![]() |