osiris1@yahoo.com
Posts: 0
Joined: Mon Jun 10, 2013 5:34 pm

Adjusting Label font size using CSS

In my css i have this entry:

.clockfacefont
{
font-size:100px;
}

On my form, I have a label called ClockFace. I assigned a class name to it in the property window.

But when I test the app, the label remains at the default font size. It seems to ignore the class.

In HTML this works with the "Note:" text at 100 pixels.

b class="clockfacefont"Note:[/b] This example does not work in IE, prior version 9.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Adjusting Label font size using CSS

Hi, it works for me.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Adjusting Label font size using CSS

What browser you use?

osiris1@yahoo.com
Posts: 0
Joined: Mon Jun 10, 2013 5:34 pm

Adjusting Label font size using CSS

the latest chrome browser for Windows7

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Adjusting Label font size using CSS

Please ensure you use correct Class name
Image

osiris1@yahoo.com
Posts: 0
Joined: Mon Jun 10, 2013 5:34 pm

Adjusting Label font size using CSS

interesting... the class name is correct (i copied and pasted to make sure), but it is still not working.

I did assign a max property font size to 60px. When I test the app, it conforms to 60. So what takes prescience? It would seem that the control input value overrides the CSS?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Adjusting Label font size using CSS

Please try
code.clockfacefont {
font-size:100px !important;
}/code

osiris1@yahoo.com
Posts: 0
Joined: Mon Jun 10, 2013 5:34 pm

Adjusting Label font size using CSS

ah. That worked!!! Thanks.

Return to “Issues”