Hi,
is there any way to change font size of textarea while (!)showing source code(!)? I would like to use some smaller font - now I have to scroll down the code with the default one. Where to add style="font-size: 9px"?
thanks for replies. LdR
is there any way to change font size of textarea while (!)showing source code(!)? I would like to use some smaller font - now I have to scroll down the code with the default one. Where to add style="font-size: 9px"?
thanks for replies. LdR
Re: Way to style textarea showing source code
find file: fck_editor.css and .SourceField line
.SourceField
{
padding: 5px;
margin: 0px;
font-family: Monospace;
}
just add
font-size: 9px;
and/or font:
font-family: 'Courier New' Monospace;
so it will be:
.SourceField
{
padding: 5px;
margin: 0px;
font-family: Monospace;
font-size: 9px;
}
I use:
font-family: 'Courier New' Monospace;
font-size: 11px;
Hope it will help.