Jump to content

HTML <img width "">


Max Castril

Recommended Posts

Hi,

I am using 'Nu HTML Checker' and it is throwing up the error "Bad value 100% for attribute width on element img: Expected a digit but saw % instead.".

Also, the W3 Schools html references says that img width should only be pixels but how can you then scale an image depending on screen size?  Using percentages for image width seems to work in Chrome.  Have they really not allowed for assigning a percentage to img width??

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...