Images moving on hover of different images
-
Page Link: https://thevernondentist.com/our-services/
Problem: When viewing in Chrome or Safari, page works great. When viewing in IE or Firefox, hovering over the top two circular images on the right (“Restorative Dentistry” and “Dental Implants”) causes other images to change position. I have no idea why. The hover action simultaneously increases the size of the image and decreases the size of the margins so that the overall footprint of the image should be the same. Excerpt from my style.css file is below. Thanks so much for any help.img.service_page_big{ clear:none !important; float:left !important; margin-left:10px !important; position:relative; top:82px; } img.service_page_big:hover{ margin-left:0px !important; margin-top:-10px !important; width:500px; } img.service_page{ clear:none !important; float:right !important; margin:12px !important; } img.service_page:hover{ margin:1px 2px !important; width:200px; } img.service_page_1{ position:relative; top:110px; right:204px; } img.service_page_2{ position:relative; top:334px; right:0px; } img.service_page_3{ position:relative; top:-224px; right:0px; } img.service_page_4{ position:relative; top:0px; right:-204px; } img.service_page_5{ position:relative; top:0px; right:0px; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Images moving on hover of different images’ is closed to new replies.