Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Proofing

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #45623
    tomred
    Member

    Hi,

    Apologies in advance because I am not sure what the correct term for this would be so I haven’t been able to search a great deal.

    The issue is that our site has a lot of un-used CSS, about 35%. I’d like to clear down and merge some of the styles. The site has a lot of pages. The designer is very particular and the layout needs to be pixel perfect. I was wondering if there is way I can check that my changes to do not alter the layout without having to resort to visually inspecting all the pages in various browsers. Ideally I’d like a checksum of the layout before that I can compare with after but short of taking a print screen, I’m not sure of a consisent way to do that.

    Has anyone got any suggestions?
    Thanks in advance.
    Dermot.

    #139153
    Paulie_D
    Member

    > I was wondering if there is way I can check that my changes to do not alter the layout without having to resort to visually inspecting all the pages in various browsers.

    I very much doubt if there is any tool that could do this.

    For everything else such as stripping out unused CSS…again, I don’t think so but follow this discussion here..

    https://css-tricks.com/forums/discussion/25884/software-that-lists-css-items#Item_4

    #139157
    tomred
    Member

    Oh well. Thanks for the link though, that’s usefaul to know.
    Dermot.

    #139162
    chrisburton
    Participant

    @chriscoyier linked a webapp at one point that basically scans your css and takes all the duplicate styling and condenses it. Maybe he can remember the name or site.

    #139164
    Paulie_D
    Member

    Yeah I though of that but couldn’t find it. I think it was a “Hot Link”…I’ll try searching some more.

    #139165
    Paulie_D
    Member

    This I think: http://zmoazeni.github.io/csscss/

    but it’s not going (AFAIK) to eliminate unnecessary rules.

    #139173
    Chris Coyier
    Keymaster
    #139193
    TheDoc
    Member

    But I think that only works one page at a time? So you’d have to go through all of your templates and even then there might be crossover. I’m not sure it’s a perfect solution.

    #139195
    Paulie_D
    Member

    Dust Me in FF seems to offer an option to spider an entire site for unused selectors but I haven’t tried it.

    http://www.sitepoint.com/dustmeselectors/

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘CSS’ is closed to new topics and replies.