CSS color vs. background-color vs. background?

color is referring to the text color in that element. background-color refers to the background color background is shorthand to combine many background tags into one line. Combines color, image and background image properties in the one line instead of typing our each style individually. w3schools

Responsive image map

For responsive image maps you will need to use a plugin: https://github.com/stowball/jQuery-rwdImageMaps (No longer maintained) Or https://github.com/davidjbradshaw/imagemap-resizer No major browsers understand percentage coordinates correctly, and all interpret percentage coordinates as pixel coordinates. http://www.howtocreate.co.uk/tutorials/html/imagemaps And also this page for testing whether browsers implement http://home.comcast.net/~urbanjost/IMG/resizeimg3.html

Using Javascript in CSS

IE and Firefox both contain ways to execute JavaScript from CSS. As Paolo mentions, one way in IE is the expression technique, but there’s also the more obscure HTC behavior, in which a seperate XML that contains your script is loaded via CSS. A similar technique for Firefox exists, using XBL. These techniques don’t exectue JavaScript from CSS directly, but … Read more

CSS: Creating textured backgrounds

with latest CSS3 technology, it is possible to create textured background. Check this out: http://lea.verou.me/css3patterns/# but it still limited on so many aspect. And browser support is also not so ready. your best bet is using small texture image and make repeat to that background. you could get some nice ready to use texture image here: … Read more