Large

Simplepedia

By Grant Stavely Last update Jul 16, 2010 — Installed 21,588 times.

bug with thumbnail images

in
Subscribe to bug with thumbnail images 2 posts, 2 voices



sdfghrr Scriptwright

When u hover over any thumbimage in an article, the padding is set to 0, thus moving the image a bit. Eg. http://en.wikipedia.org/wiki/Acropolis_Museum (the pic on hte left).

I think using

th:hover, td:hover, tbody:hover{background-color: #eee !important;border-color: #ddd !important;padding: 0px !important;} .thumb:hover, .thumbcaption:hover, .thumbinner:hover{background-color: #eee !important;border-color: #ddd !important;}

would be better than

th:hover, td:hover, tbody:hover, .thumb:hover, .thumbcaption:hover, .thumbinner:hover{background-color: #eee !important;border-color: #ddd !important;padding: 0px !important;}

 
Grant Stavely Script's Author
SafariMacintosh

Definitely a bug, fixed by killing the padding declaration entirely.

Thanks!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel