Using stylesheets

  • Thread starter Thread starter Iams
  • Start date Start date
I

Iams

How do I set up in a style sheet what format I want to use for various
controls, such as a drop down list? The format is not following the body
font, nor tables (which the ddl's are in), nor even a grid, which some of
them are in.

Thanks.
 
Thanks, that helps, some. I have a css sheet, below. I want everything to
follow the same format as the body, but find I have to do, as you suggested,
create a class, such as the DDL for a drop down list, and a LABEL for
labels, but now I have to go to every control in the entire application and
enter "DLL" under the cssclass property for each one? How can I do this
globally so that ALL drop down lists follow the same format as Body, or even
follow the DLL class without changing the property of 50 million drop down
lists? I hope that makes sense & thanks for your help!

/* Default CSS Stylesheet for a new Web Application project */

BODY
{
font-size: 8pt;
color: black;
line-height: 11pt;
font-family: 'Microsoft Sans Serif';
font-weight: normal;
word-spacing: normal;
text-transform: none;
letter-spacing: normal;
}

..DDL
{
font-size: 8pt;
color: black;
line-height: 11pt;
font-family: 'Microsoft Sans Serif';

}
..LABELS
{
font-size: 10pt;
color: black;
line-height: 11pt;
font-weight: bolder;
font-family: 'Microsoft Sans Serif';

}
 
Back
Top