Setting A Black Background When...

User 2187033 Photo


Guest
3 posts

Hi Guys,

I'm VERY new at using Coffeecup HTML Editor, started using it today. Right now I'm checking out all the features etc..and am setting up the way I like my code window to look by editing my highlighting. I created a nice dark theme when editing HTML code and it's all on a nice black background. What I can't seem to do is to set a black background when editing CSS code. I can set a black background for CSS elements but not the whole page. How can I do this in Coffeecup HTML Editor?... or is it not possible?

This is the only thing that is really swaying me if I should buy it or not.

Any help would be appreciated...

-Antoni
User 562592 Photo


Registered User
2,038 posts

There are multiple ways to accomplish this. IF you are using a CSS (stylesheet) then make sure you have this:

body{background-color:#000000;}

This will apply a black background to your entire website. If you need it just for one page then in your html you can add this to your body tag:

<body bgcolor="black">

Hope this helps.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 2187033 Photo


Guest
3 posts

Thanks for the quick reply Philosopher but I think you mis-understood my question. I wasn't talking about the CSS code needed to make a webpage have a black background I am talking about the code window in CC HTML Editor. When writing code, be that HTML or CSS, my eyes don't do very good looking at code on a white background so I am trying to setup the code highlighting so that my code is on a black background and then setting up the tag colors so it looks good on a dark background. I have set this up for editing HTML code but can't find a way to make the code window totally black for CSS editing. I can setup a black background on various elements of CSS (like selectors, values etc..) but the rest of the page is still white:

http://i54.tinypic.com/rw877q.png

Hope I have explained myself better this time.

Thanks

-NullDiv
User 562592 Photo


Registered User
2,038 posts

Ah i see. I apologize. I do not know the answer to that one.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 184085 Photo


Ambassador
1,707 posts

Try,
Tools then preferences, select customization tab

in the drop down select htmp/php documents, and select the modify highlighting button then highlight default text and you can select the text color and background color.


Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 2187033 Photo


Guest
3 posts

Thanks David but I tried that already, that works for HTML documents but not for CSS and I can't see a "default text" option under CSS highlighting for some strange reason.
User 453426 Photo


Registered User
64 posts

i'd love to know if you ever found the answer to this. i've been trying to change the background for my css to black as well. like you said, it works great for html/php document settings
User 187934 Photo


Senior Advisor
19,931 posts

I tried this In the preferences window select customization, Then in that window change the left hand box to style sheet documents, then click on modify highlighting. Now click on each element in the list and remove the check from the use defaults for background box. This will allow the background to become selectable and change it to black.
It won't change everything to black.:/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 453426 Photo


Registered User
64 posts

Yeah, that makes it look like the pic that NullDiv posted.

Maybe they'll fix that in the next version :)
User 2256613 Photo


Guest
1 post

Hello,

I wonder if there's an update for this issue.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.