Jan K. van Dalen
|
| Posted: 01/22/2008, 9:20 PM |
|
Hi Everyone,
I'll like to know how you extend the current Style's with more CSS Classes?
IOW, I created a Style (base on an existing one) but would like to add other
Classes to the Style. Codecharge does not have a way to do this ... as far
as I know.
Can someone please share your solutions ... thanks.
|
|
|
 |
gingercat
Posts: 48
|
| Posted: 03/15/2008, 8:55 PM |
|
You can just edit the css )Style.css) file BUT if you adjust the styles in Css your additional styles will be deleted from the file when Css re-0writes the file.
|
 |
 |
datadoit
|
| Posted: 03/16/2008, 6:33 AM |
|
You could import your own stylesheet into the CodeCharge style sheet
using the import command:
@import url(/Styles/YourStyles/YourStyle.css);
But once you make edits to the CodeCharge styles, this will get overwritten.
Otherwise, in your HTML, reference your own style sheet in addition to
the CodeCharge stylesheet.
<link href="Styles/Basic/Style.css" type="text/css" rel="stylesheet">
<link href="Styles/YourStyles/YourStyle.css" type="text/css"
rel="stylesheet">
Also note that in CSS, last one loaded wins in case of style class
conflicts.
|
|
|
 |
|