Hi all,
I want to use different size fonts than the specified html options 1,2,3,4,... like 8pt, 9pt, 10pt, 11pt, 12pt, 13pt, 14pt. etc.
I have limited knowelege of css so could whoever answers this please assume nothing.
Thanks in advance.
Brett.
p.s.
I'm also curious as to why the editor still uses the <font size=".."> when building the combo box for the sizes. I thought the use of <font> is bad practice? In editor/source/classes/fcktoolbarfontsizecombo.js it builds up the size using the following javascript;
FCKToolbarFontSizeCombo.prototype.CreateItems = function( targetSpecialCombo )
{
targetSpecialCombo.FieldWidth = 70 ;
var aSizes = FCKConfig.FontSizes.split(';') ;
for ( var i = 0 ; i < aSizes.length ; i++ )
{
var aSizeParts = aSizes[i].split('/') ;
this._Combo.AddItem( aSizeParts[0], '<font size="' + aSizeParts[0] + '">' + aSizeParts[1] + '</font>', aSizeParts[1] ) ;
}
}
I want to use different size fonts than the specified html options 1,2,3,4,... like 8pt, 9pt, 10pt, 11pt, 12pt, 13pt, 14pt. etc.
I have limited knowelege of css so could whoever answers this please assume nothing.
Thanks in advance.
Brett.
p.s.
I'm also curious as to why the editor still uses the <font size=".."> when building the combo box for the sizes. I thought the use of <font> is bad practice? In editor/source/classes/fcktoolbarfontsizecombo.js it builds up the size using the following javascript;
FCKToolbarFontSizeCombo.prototype.CreateItems = function( targetSpecialCombo )
{
targetSpecialCombo.FieldWidth = 70 ;
var aSizes = FCKConfig.FontSizes.split(';') ;
for ( var i = 0 ; i < aSizes.length ; i++ )
{
var aSizeParts = aSizes[i].split('/') ;
this._Combo.AddItem( aSizeParts[0], '<font size="' + aSizeParts[0] + '">' + aSizeParts[1] + '</font>', aSizeParts[1] ) ;
}
}