WordPress.org

Support

Support » Themes and Templates » Woocommerce HTML5 placeholder width & height error, invalid markup

Woocommerce HTML5 placeholder width & height error, invalid markup

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

    WPyogi

    @wpyogi

    Forum Moderator

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce HTML5 placeholder width & height error, invalid markup’ is closed to new replies.
Skip to toolbar