Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2008
    Location
    Niagara Region
    Posts
    10
    Plugin Contributions
    0

    Default CSS Validation Help?

    I've searched the forums but not been able to find anything specific to help me with a CSS validation failure I'm having; I suspect that probably it's so simple that I'm the first one to need assistance with it. I'm working with a fresh install of ZC1.3.8a, and using template ArkiTEC HD Black, ver.1.0g. The site is at www.baadcompany.com

    The CSS validation error is "File not found: http://baadcompany.com/includes/templates/ArkiTEC-HD Black/css/stylesheet.css: Bad Request " (Huh?) If I change template back to classic, it validates nicely.

    Would someone be so kind as to take a look and see where I've messed up? I'm a complete n00b with this and might need an explanation using small words. Thanks in advance for taking the time.

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: CSS Validation Help?

    I would lose the - and the space in the template name, put _ instead
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,704
    Plugin Contributions
    11

    Default Re: CSS Validation Help?

    Some problems also occur when filenames and directories begin with a capital letter.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: CSS Validation Help?

    Filenames and directories beginning with a capital letter do not cause problems but they can cause confusion, which leads to problems.

    Windows is case-insentive so "A" or "a" mean the same.
    Linux is case-sensitive so "A" is different than "a".


    What will cause problems is a blank space in a dir. or file name, such as in this case. The "ArkiTEC-HD Black" dir. should be renamed. Some Browser will automatically put the Hex code: %20 in place of a blank space, some will not. Other sites such as Validators will usually have problems because they will not use %20 but instead, figure the URL stops at the blank space; which actually, is the correct thing to do but Browsers sometimes 'Mommy' us.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,704
    Plugin Contributions
    11

    Default Re: CSS Validation Help?

    so...

    Since the site is on Linux, there's no problem with a customer entering A versus a?

    And, an image with a capital letter won't be messed up when Image Handler or lightbox/slimbox is installed?

    I've solved several sites' "problems" by changing leading case on directories and filenames.

    Granted, if coded entirely in the background, an uppercase link shouldn't be a problem but, better safe than sorry.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: CSS Validation Help?

    You're preaching to the Choir with what you say as I always recommend people to use small letters; combine with _ or - when needed for use with multiple words.

    Mind you, with two or more words I sometimes suggest using a Capital letter for the second name. This is similar to what you see in Zen Cart CSS names for example: indexHomeBody, mainWrapper, etc.

 

 

Similar Threads

  1. Validation help
    By sham in forum General Questions
    Replies: 5
    Last Post: 23 Mar 2011, 09:39 PM
  2. CSS validation error
    By Mike_Dean in forum General Questions
    Replies: 5
    Last Post: 15 Mar 2010, 10:53 PM
  3. CSS Validation Warning
    By need_help in forum General Questions
    Replies: 1
    Last Post: 15 Apr 2009, 11:00 PM
  4. Validation Help
    By LissaE in forum General Questions
    Replies: 4
    Last Post: 1 Jul 2008, 05:05 AM
  5. CSS Validation Problem
    By speeke in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Sep 2006, 01:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg