We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To demonstrate the problem you can go to your demo http://mattstow.com/experiment/responsive-image-maps/rwd-image-maps.html#ppg with the PowerPuff Girls graphic, use the inspector to add...
img[usemap] {padding-left:40px;}
You will see the maps are now off by 40 pixels
The text was updated successfully, but these errors were encountered:
I wouldn't put padding directly on an image. In fact, in the 15 years I've been a front-end dev, I never have; it just seems too unpredictable imo.
I'd suggest to just put the padding on a wrapping element.
Sorry, something went wrong.
Had a sneaky problem where all targets were shifted to the left, removing padding on the image fixed it.
I've never heard of padding on a image being bad practice, but yeah, it's easy enough to work around.
No branches or pull requests
To demonstrate the problem you can go to your demo http://mattstow.com/experiment/responsive-image-maps/rwd-image-maps.html#ppg with the PowerPuff Girls graphic, use the inspector to add...
You will see the maps are now off by 40 pixels
The text was updated successfully, but these errors were encountered: