Grow your CSS skills. Land your dream job.

Is some javascript adding extra quotations around my class and ID?

  • # April 26, 2012 at 10:51 am

    http://goodwynbuilding.com/communites-test/

    Below the map there is a td to the left of the first address. In it should be a div like this…

    ​​​

    But when I view it it Google developer tools it looks like this with extra quotes…

    ​​​

    ""

    Is that why the image is not showing up?

    Thanks!

    # April 26, 2012 at 11:16 am

    I wonder if the quotes that you use in the source are non-standard characters or something, so they’re regarded as part of the ID and class name. Try giving that single quotes to see if it solves the problem.

    # April 26, 2012 at 11:24 am

    Yes when I remove the extra quotes in webmaster tools it works. Do you know what is putting the quotes there?

    # April 26, 2012 at 12:28 pm

    Nope, can’t see it right away. Could be a lot of things happening in the back-end, really!

    # April 27, 2012 at 11:13 am

    I had this same problem a few years ago with WordPress. I believe it was related to the WYSIWYG editor that was used to write articles.

    # April 27, 2012 at 11:19 am

    I got it. The quotes were “bad” or something. I copied and pasted some working quotes and now it is working.

    # April 29, 2012 at 11:38 pm

    Copy and pasting quotes has delayed so many projects for me in the past. It is a rather annoying little issue.

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

You must be logged in to reply to this topic.

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