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.
- The topic ‘Woocommerce HTML5 placeholder width & height error, invalid markup’ is closed to new replies.