Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Here is a little something I have been working on. It's.... CSSCheck!

    Description: Basically CSSCheck is kind of a CSS validation tool. What it does is looks through your CSS files for background-image statements and reports any images that do not exist.

    After you have opened a CSS file (which can be on your computer or on the web) you will see the following information

    • The number of background-image statements that file has
    • The number of images specified that exist
    • The number of images specified that do not exist


    Here are some declaration styles that are supported:

    div.one
    {
    background-image: url(divone.jpg);
    }
    div.two
    {
    background-image:url(div_two-_(small).jpg);
    }
    div.three
    {
    background : url(divthree.jpg);
    }
    div.four
    {
    background-image: url('divfour.jpg');
    }
    div.five
    {
    background-image:url("divfive.jpg");
    }
    div.six
    {
    background-image : url('divsix.jpg");
    }
    I just zipped it up, its available here.

    Comments/suggestions however good or bad are always welcome.

    Thanks,
    Andrew

    Edit: The program only "looks back" for one instance of ../ so if you have an image that is more than one directory above your CSS file the program will not find it. Thats easily fixed though. Enjoy.

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:25 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com