www.webdeveloper.com
Results 1 to 7 of 7

Thread: Website validation

Hybrid View

  1. #1
    Join Date
    Mar 2004
    Location
    Nevada, USA
    Posts
    201

    Website validation

    I am new to responsive website design, and I am using code from http://www.responsivegridsystem.com

    When I went to post a problem I was having on this forum, I read where I should verify the website code before posting my problem.

    Unfortunately, the code I have downloaded from the above website does not verify. There are 5 problems in the HTML and over 100 problems in the CSS code.

    Can I just ignore these or is there another grid system which doesn't have this problem. I need something simple because of my lack of experience in responsive website design.

    Lawrence
    Last edited by lkeeney; 04-30-2014 at 08:29 PM.
    Larry

  2. #2
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,843
    the HTML errors I would suggest fixing first. depending on the errors you get for your CSS file(s). if you use browser prefixes (i.e. -moz-user-select, -webkit-user-select, etc.) you can ignore those. oddly enough CSS specification allows the use of prefixes, but the validator trips on them.

  3. #3
    Join Date
    Mar 2004
    Location
    Nevada, USA
    Posts
    201
    Thanks for the information. The grid system from this site appears to be fairly easy to use even for a non-responsive website designer like myself.

    I am just not sure if there is a better one to use, or not.
    Larry

  4. #4
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,216
    Any properly formed CSS3 rules that were flagged by validator can be ignored. CSS3 has not been released yet, so validator may flag those rules. The validator does have the option for checking CSS3: See http://jigsaw.w3.org/css-validator/#...i+with_options . Click the "More Options". Or, use AutoFixer for vendor prefix problems: http://css-tricks.com/autoprefixer/ . If in doubt, try the CSS3 Generator: http://css3generator.com/ .

  5. #5
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,843
    CSS 2.x allows for vendor prefixes and badly written properties identifiers (CSS grammar). example
    Code:
    /* IE 6/7 */
    body {
        _width: 99.999999%;
        overflow: auto;
    }
    /* NN/Opera/Chrome */
    html > body {
        width: 100%;
    }
    actually used this back many years ago, for cross browser compatibility.
    vendor prefixes are a far cry from the hoops we had to jump thru back in the glory days of IE 6/7.
    Last edited by ShrineDesigns; 05-01-2014 at 07:52 PM.

  6. #6
    Join Date
    Mar 2004
    Location
    Nevada, USA
    Posts
    201
    Thanks everyone for your input and suggestions.
    Larry

  7. #7
    Join Date
    Mar 2014
    Location
    United Kingdom
    Posts
    68
    You can fixed the errors with the help of validator.w3.org

    Insert your website in here and see where you did mistake correct it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles