Woocommerce HTML5 placeholder width & height error, invalid markup (3 posts)

  1. niaomi85
    Posted 3 years ago #

    Hi, would be super happy for advice on this...

    I've put my site through W3 vallidator and get the following error -

    Line 180, Column 150: Bad value 350px for attribute width on element img: Expected a digit but saw p instead.
    …mages/placeholder.png" alt="Placeholder" width="350px" height="350px" />							
    Syntax of non-negative integer:
    One or more digits (0–9). For example: 42 and 0 are valid, but -273 is not.

    My images display differently across all browsers, I think that error is the problem. Can anyone tell me how to fix this? I've tried locating the width and height of the placeholder to remove the px but I can't find it.

    Thanks for looking.

  2. niaomi85
    Posted 3 years ago #

    I also get this error

    Line 34, Column 64: Bad value X-UA-Compatible for attribute http-equiv on element meta.
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

    My first time using woocommerce, should I try something else?

  3. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Impossible to say much without seeing the site -- please post a link to the page in question.

Topic Closed

This topic has been closed to new replies.

About this Topic