What is the best way to style a CaptionPanel title as bold? I was hoping I could apply a CSS style. I’m currently doing:
CaptionPanel examplePanel = new CaptionPanel();
examplePanel.setCaptionHTML("<b>CaptionPanel Title</b>");
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The captions are translated in HTML
legendelements. So use CSS to setlegendelements font as bold.If you want it on all captions, simply do :
But if you want it only for a specific
CaptionPanel, you add a style name to it :and use the panel style name in the CSS :