F
FrodoBaggins
Dear Team,
I am trying to use stylesheets on a web form.
Initially, I created a folder named 'styles' within the WebUI project.
In this I created the following stylesheet named 'drivingschool.css':
body
{
font-size: 12px;
font-family: verdana, arial;
colour: #000000;
}
Then I placed a reference to this stylesheet within the HEAD section of the
web form as follows:
<LINK href="..styles/drivingschool.css" type="text/css" rel="stylesheet">
However, the rendering of the web form seemed to ignore the stylesheet.
Three questions:
1. Firstly, is my approach above correct?
2. If not what must be done to correct it?
3. I have also looked at the properties of one text label and noticed the
property 'CssClass'.
Does this have to be set also and if so, what should it be set to? I have
tried the help for this, but all it does it give an unrelated example.
Thanks,
Frodo.
I am trying to use stylesheets on a web form.
Initially, I created a folder named 'styles' within the WebUI project.
In this I created the following stylesheet named 'drivingschool.css':
body
{
font-size: 12px;
font-family: verdana, arial;
colour: #000000;
}
Then I placed a reference to this stylesheet within the HEAD section of the
web form as follows:
<LINK href="..styles/drivingschool.css" type="text/css" rel="stylesheet">
However, the rendering of the web form seemed to ignore the stylesheet.
Three questions:
1. Firstly, is my approach above correct?
2. If not what must be done to correct it?
3. I have also looked at the properties of one text label and noticed the
property 'CssClass'.
Does this have to be set also and if so, what should it be set to? I have
tried the help for this, but all it does it give an unrelated example.
Thanks,
Frodo.