Guest Posted November 9, 2021 Share Posted November 9, 2021 Site URL: https://kerriedefelice.squarespace.com/ Hello- So I am working on my Portfolio site and I have used an image swap CSS code. When I am editing my site in the back end, it displays perfectly. When I go to the live site, the first images do not have padding between them and when I rollover the image it has some padding. I have not messed with any padding code, so why is this happening? Thanks in advance! Link to comment
Guest Posted November 9, 2021 Share Posted November 9, 2021 Surprisingly for me, I figured it out by swapping to a different code. Below was my solution. <a href="YOUR HYPERLINK ADDRESS HERE"> <img src="YOUR FIRST URL HERE" onmouseover="this.src='YOUR SECOND URL HERE'" onmouseout="this.src='YOUR FIRST URL HERE'"></a> Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment