I am working with some html tables inside of html tables and I am having trouble doing some specific styling. Here is my table:
Note: The blue part is the hover.
The specific things I want to do are:
1. Make the image in each cell fill the entire cell (instead of having that much blue space)
2. Make the image enlarge when you hover on the image.
3. Make the right section (with the info and buy button) have a light grey background.
(the fiddle made my output looked stretched and Im not sure why)
1 . change the
padding
of the .table td2 . Something with
img:hover
, maybe this:But there you have to leave the browser window to get the old size...
3 .
<td bgcolor=gray>