Grow your CSS skills. Land your dream job.

How do I fix this? Declaration dropped.

  • # May 8, 2013 at 9:38 am

    I’m downright OCD about errors and depreceated elements when it comes to WordPress.

    I’m using FireFox’s web console and [my theme](http://themeforward.com/demo2/ “”) is returning declaration dropped for box-sizing… but box-sizing is nowhere to be found in the HTML and CSS. I’d obviously be happy with a “Oh, look here!” answer. However, if you simply know how I can start narrowing down possibilities it would be helpful as I’m completely stumped.

    # May 8, 2013 at 9:56 am

    So you’ve declared it in a CSS file but nothing is happening…is that what you are saying?

    If not then, obviously, WP can’t “drop” something that hasn’t been declared.

    # May 8, 2013 at 10:06 am

    Firefox is finding box-sizing somewhere and I’m unable to locate where.

    # May 8, 2013 at 10:12 am

    Any link?

    is it on a specific element?

    # May 8, 2013 at 10:35 am
    (http://themeforward.com/demo2/ “”)

    And no, I don’t see Firefox returning anything which indicates a specific element.

    # May 8, 2013 at 11:50 am

    Where is it finding `box-sizing` then?

    As I asked, have you declared it?

    …and if, as you say, it’s being **dropped** how can you find it?

    # May 8, 2013 at 12:11 pm

    I’m not sure where it’s finding box-sizing; but I assume if it says the declaration is being dropped it is finding box-sizing somewhere correct?

    # May 8, 2013 at 12:25 pm

    Weird.

    No it’s not finding it and I can’t find it anywhere in the CSS or source code.

    A quick google suggests it may be related to jQuery usage…

    http://stackoverflow.com/questions/15306923/jquery-causes-firefox-box-sizing-warnings

    http://bugs.jquery.com/ticket/13569

    Guess you’ll just have to deal.

    # May 8, 2013 at 12:25 pm

    Could just be a bug. Could be in a script that you’re using? No idea.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".