Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9018971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:39:55+00:00 2026-06-16T04:39:55+00:00

W3C Css Validator for my CSS file The HTML here My question is that

  • 0

W3C Css Validator for my CSS file

The HTML here

My question is that when I put some CSS inside of a DIV tag it stops working when I go to doctype 4.01 from 4.0 (transitional) The goal here of course to have all the bells and whistles working in the latest version of IE, FF, and Chrome. What am I missing here?

I’ve searched this site but can’t find anything that can help yet.. Hopes it’s something simple..

<div class="ContentContainer"><div class="text1">Formatting for text1 is NOT working.</div></div>

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:39:56+00:00Added an answer on June 16, 2026 at 4:39 am

    You should use the html5 doctype ..

    <!DOCTYPE html>
    

    you also seem to be using a wrong html comment syntax ..

    comments should be like <!-- Menu here --> (documentation) and not like <! Menu here ===========>


    Update

    CSS is case sensitive, so when you apply a class of text1 it will not match a CSS rule named Text1

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the css-validator.war file provided by W3C running locally on JBoss . I
I am using the W3C CSS Validator and it says that I have an
I need to W3C CSS Validator logo for my website. Due to some error
I'm using the W3C CSS Validator with the Profile CSS3 but the validator says
Is there any cross-browser css sticky footer with W3C valid css and semantic X/HTML?
Some people have told me that the following code is bad for HTML validation:
-moz and -webkit won't validate in w3c css validator, should I not use it?
May websites, including professional ones usually have a W3C Markup Validator and W3C CSS
I tried to validate my site's CSS using the W3C CSS Validator. Unfortunately, reset-min.css
I have an HTML file that won't validate and I keep getting the error

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.