Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CSS stylesheets

Community Beginner ,
Oct 27, 2017 Oct 27, 2017

my css file went from color to all white type. how do I get the color back?

353
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Oct 27, 2017 Oct 27, 2017

The error indicator was green but it was on html when I switched back to css it came back. Thanks!

Translate
Community Expert ,
Oct 27, 2017 Oct 27, 2017

That's usually cause by structural errors, or by saving the file without a recognized file extension.

Run the validator here to make sure errors aren't causing it:

The W3C CSS Validation Service

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 27, 2017 Oct 27, 2017

Ran the validator to no avail. no errors.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2017 Oct 27, 2017

Check your CSS code for missing semi-colons ;  or braces { } .  Use the error indicator & output panel in DW to help you spot code problems.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 27, 2017 Oct 27, 2017

Thanks Nancy I ran the validator and no syntax errors.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 27, 2017 Oct 27, 2017

The error indicator was green but it was on html when I switched back to css it came back. Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2017 Oct 27, 2017
LATEST

Yup.  The wrong code selection would do that.

Glad you got it sorted.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines