FERAD
Posts: 51
|
| Posted: 01/04/2008, 9:54 AM |
|
I am having some problems with the style sheets and need some clarification. Not sure if this is the best place for this posting.
If I have to modify or add code in the style sheets; which file is the best place to put the code - Style_doctype.css, Style.ccs or other.
For example, if I change the "body" parameters. Is there any way to keep these changes.
If i create a project in CCS with a certain style, then add new elements to the style page, and then later decide to change the color scheme. It deletes all the code that i added or changed. Is there any way to make changes with the CCS style sheet editor without losing all the code that i entered.
I know that one possibility is to use a 3rd party editor but it would be nice to use CCS for everything. Maybe even if the editor had a way to add new custom elements directly.
Any assistance is greatly appreciated.
|
 |
 |
ckroon
Posts: 869
|
| Posted: 01/04/2008, 10:26 AM |
|
Greetings. Not sure if you are aware of the Style Builder feature within CCS.
Go to Project Settings-> Styles and the Style Builder will come up. You can create a new style, or edit an existing one from there. Pretty powerful once you get the hang of it.
_________________
Walter Kempees...you are dearly missed. |
 |
 |
FERAD
Posts: 51
|
| Posted: 01/04/2008, 10:53 AM |
|
I understand the basics of Style Builder. How do I add the following ID for example:
#content {
....;
}
or if i want to change the body settings:
body {
background: url(images/background.jpg) no-repeat fixed center top;
margin:0px;
text-align: center;
}
I can do this with any text editor, how can this be done using the Style Builder. Also if I make a change to the color scheme or anything else. The Style Builder overrights any of the code i previously entered. Or do i ignore Style Builder at this point.
|
 |
 |
gingercat
Posts: 48
|
| Posted: 03/15/2008, 8:57 PM |
|
I would like to find a good way to do this as well. If you add the style manually it gets wiped if you re-save the Styles in CCS.
|
 |
 |
Waspman
Posts: 948
|
| Posted: 03/20/2008, 3:01 AM |
|
I have been wrestling with the CSS style builder for years
I still can't get what I want... I think it'll be a while before we can have the sort of control that you get with tools like StyleMaster.
Still, things are better than they were
T
_________________
http://www.waspmedia.co.uk |
 |
 |
maxhugen
Posts: 272
|
| Posted: 03/27/2008, 6:10 PM |
|
Just a newbie, but you could create your own custom CSS which you can use in conjunction with the one used by CodeCharge.
In HTML view, you'd see an entry like this:
<link rel="stylesheet" type="text/css" href="Styles/Compact/Style_doctype.css">
Add another link below it, eg:
<link rel="stylesheet" type="text/css" href="Styles/MyCustomStyles/myStyles.css">
Note that any settings in the last loaded stylesheet will override a previous stylesheet.
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com |
 |
 |
pbrad
Posts: 58
|
| Posted: 03/27/2008, 8:00 PM |
|
Hi,
I have to agree, adding any custom css rules into the ccs stylesheets is not a great idea. You are better off to create a custom style sheet and keep it in the same folder but not managed by ccs. There are lots of css editors out there and many of them are free.
_________________
Pete
CCS 4
MySQL
PHP |
 |
 |