This can be useful when you wish to display a long text or a script
Simplified code
Paste the following code in your html
<textarea name=a cols=50 rows=3 style="font-family:Verdana;font-size:8pt;color:white;background-color:#000080;border:1 white">YOUR TEXT HERE</textarea>
Preview :
COLS=50 Width
ROWS=3 Height (number of lines)
font-family:Verdana : Font type
font-size:8pt :Font size
color:white : Font color
background-color:#000080 : background color
You can modify or add :
background-color: transparent : transparent background
In order to change the scrollbar colors (see next article for description) :
SCROLLBAR-HIGHLIGHT-COLOR: #f7e7e7;
SCROLLBAR-SHADOW-COLOR: #f7e7e7;
SCROLLBAR-FACE-COLOR: #f7e7e7;
SCROLLBAR-3DLIGHT-COLOR: #f7e7e7;
SCROLLBAR-ARROW-COLOR:#5a424a;
SCROLLBAR-TRACK-COLOR: #f7e7e7;
SCROLLBAR-DARKSHADOW-COLOR: #f7e7e7
FULL CODE
<textarea style="border-right: white 1px; border-top: white 1px; font-size: 12pt; border-left: white 1px; color: #660033; border-bottom: white 1px;SCROLLBAR-HIGHLIGHT-COLOR: #f7e7e7;
SCROLLBAR-SHADOW-COLOR: #f7e7e7;
SCROLLBAR-FACE-COLOR: #f7e7e7;
SCROLLBAR-3DLIGHT-COLOR: #f7e7e7;
SCROLLBAR-ARROW-COLOR:#5a424a;
SCROLLBAR-TRACK-COLOR: #f7e7e7;
SCROLLBAR-DARKSHADOW-COLOR: #f7e7e7;
font-family: Verdana; background-color: transparent" rows="15" cols="90" name="a">YOUR TEXT HERE</textarea>

Commentaires