Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Trying to change checkbox font size without success

Luis CabralApr 9 2008 — edited Apr 9 2008
Hi

I am trying to change the font size of a checkbox in my page. I have put in the "Form Element Option Attributes" the value:

style="{font-size:8px;}"

The generated HTML looks like this:

[input id="P1_OPTIONS_0" type="checkbox" value="M" name="p_v08"/]
[span style="font-size: 8px;"]
[label for="P1_OPTIONS_0"]My projects only[label]
[span]

For my surprise, the style was applied to the span surrounding the label, but not to the label itself! It just ignores the style...

In the theme_V3.CSS file, referenced by the template, I see the entry:

* {
font-family:Verdana,Arial,Helvetica,Geneva,sans-serif;
font-size:11px;
}

It seems that the setting in the SPAN element is not applied to the checkbox label and the setting above is being used instead (I guess because of the *).

How can I do this apparently simple task? Or is it not possible to be done?

Thanks
Luis
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2008
Added on Apr 9 2008
8 comments
3,294 views