Board Logo

Font size in CSS
kent.klingler - 2/9/2005 at 02:18 AM

When I make a change to the css font size it has no affect on the font displayed in the tree. What am I missing? I'd really would like to use the css to control the font. Right now I'm using inline styles to get the job done.

Using the example css, I modified the css file to have smaller font sizing.

Snippet
/* Style for tree item text */
.mout2 {
font-family: Verdana, Arial, Helvetica;
font-size: xx-small;
color: #000000;
background-color: #efefef;
text-decoration: none;
width: 100%;
padding: 0px;
}

Then modified the tpl file to use the css.
// styles - root
'style_48':'mout2', // normal root caption style
'style_52':'mout2', // selected root catption style
'style_56':'mout2', // opened root catption style
'style_60':'mout2', // selected opened root catption style
'style_112':'mover2', // mouseovered normal root caption style
'style_116':'mover2', // mouseovered selected root catption style
'style_120':'mover2', // mouseovered opened root catption style
'style_124':'mover2', // mouseovered selected opened root catption style


rock - 2/18/2005 at 01:57 PM

It's possible your class style setting is overriden by some global CSS for anchor tag. Try to use classifiers. (see Text Styles)


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/