Changes to CSS file

User 2625909 Photo


Guest
5 posts

Trying to make a background color change to the CSS but when the change is made it is not reflected in the preview window.
User 187934 Photo


Senior Advisor
18,073 posts

Hi Robert,
Can you provide a link to your page?:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 2625909 Photo


Guest
5 posts

I haven't even made a page yet. I mean all I have is a h1. I have two tabs opened, one for html, and one for .css. I put the <link rel="stylesheet" type="text/css" href="robs.css"> into the html file.
I type body {background-color:#3A403A;} then I click save on the css file hoping that it will automagically update in the html preview pane. But no changes are made.
User 187934 Photo


Senior Advisor
18,073 posts

Is the style sheet saved as robs.css?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 2625909 Photo


Guest
5 posts

Yes it is. I would even let you view my page if you wanted to through team viewer.
User 187934 Photo


Senior Advisor
18,073 posts

Can you post your code or attach it as a zip file?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 2625909 Photo


Guest
5 posts

Sure, I put the css file first.
User 122279 Photo


Senior Advisor
11,397 posts
Online Now

Robert,
Does your html page have this chunk of code in the head section?
<style type="text/css">
<!--

body {
color:#000000;
background-color:#FFFFFF;
}
a { color:#0000FF; }
a:visited { color:#800080; }
a:hover { color:#008000; }
a:active { color:#FF0000; }
-->
</style>

If it has, the white colour #FFFFFF will override any other colour coming from a style sheet. Since you are using a style sheet, you can delete the styles from the html file.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.horgenhonning.net/
Component sharing for RFF, RBB, RSD and SD: http://www.horgenhonning.net/sharing/


User 2625909 Photo


Guest
5 posts

No my HTML file is style free. I attached both the HTML file and css file to my last reply that said "I put the css file first", but I didn't compress it or zip, just a regular attachment. Maybe it didnt attach right?
User 187934 Photo


Senior Advisor
18,073 posts

It needs to be under 100kb.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/

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.