Tony Elmiger
|
| Posted: 01/17/2006, 10:03 AM |
|
I am trying to change the font size and the textbox height but I do not see where I can do this in my styles.
Any help would be appreciated.
Tony
|
|
|
 |
mamboBROWN
Posts: 1713
|
| Posted: 01/17/2006, 10:24 AM |
|
Tony
What version of CCS are you using??
|
 |
 |
Tony Elmiger
|
| Posted: 01/17/2006, 11:23 AM |
|
I am using CCS 3.0. I have not found any option in the Style builder that applies to the record text box.
I also checked out the html and see that the label has the class "control" but the text box does not have any control assigned to it. If I change the font size in the stylesheet for "control" it does change the label font but not the textbox font.
Tony
|
|
|
 |
Walter Kempees
|
| Posted: 01/17/2006, 1:27 PM |
|
This is what you need (as an example) for your styles:
..textarea
{
font-size: 12;
font-family: arial;
font-weight: normal;
background-color: #ffffff;
color: #013c2a;
border : 1px solid #013c2a;
}
..input {border : 1px solid #013c2a ;background-color : #ffffff ;color :
#013c2a ;font-family : arial ; font : 12px}
..select {border : 1px solid #013c2a ;background-color : #ffffff ;color :
#013c2a ;font-family : arial ; font : 12px}
..checkbox {border-right: #003d2b 0px solid;border-top: #003d2b 0px
solid;font:11px Verdana, Helvetica;border-left: #003d2b 0px
solid;border-bottom: #003d2b 0px solid;height: 18px; font : 11px;color:
#000000}
..radio {border-right: #003d2b 0px solid;border-top: #003d2b 0px
solid;font:11px Verdana, Helvetica;border-left: #003d2b 0px
solid;border-bottom: #003d2b 0px solid;height: 18px; font : 11px;color:
#000000}
Add it to your Style.css, which you can find in your styles directory.
Make some extreme changes to be able to identify changes in your
application.
Then in textbox properties on the Format Tab you can set class to "input"
(without the quotes.
Publish your project with publishing settings set to "All files ...." so
that your styles are published too.
In IE it is difficult to get the <SELECT> <INPUT> <TEXTAREA> borders in the
right colors.
If you are not happy with your changes click Project
Settings->Styles->Rebuild
But I still agree that the several stylesheets for the different styles
should contain some default settings for the above described items.
Walter.
|
|
|
 |
mamboBROWN
Posts: 1713
|
| Posted: 01/17/2006, 8:29 PM |
|
Tony
You may want to even try this link as well. It may be helpful to you. http://docs.codecharge.com/studio3/html/UserGuide/Worki...les/Styles.html
|
 |
 |
TheunisP
Posts: 342
|
| Posted: 01/18/2006, 2:23 AM |
|
Tony, just watch that the input tag will when modified will also (border etc.) change the checkbox's border - and will put a very nasty liitle box arround it - so just create another tag e.g. .inputnoborder (without borders) which you then assign to checkboxes - to remove the little bugger
|
 |
 |