I am creating a site using Weebly where I have images that are links to other pages. In order to show that the images are links, I have put them in as embedded html and used some code to change the opacity when the mouse is hovering over them. I then put a link around this.
I can't seem to get the code to go in here, so here is a jsbin of it
I don't know very much HTML, so I got most of this from google searches. This works , but it will only ever display the image at it's native resolution, and Weebly will only give the HTML box a certain amount of space depending on the screen size. I want two of these images to be next to each other on the site, and evenly resize to fill the whole horizontal space, maintaining the same aspect ratio. I have looked at how to do this (such as this) but I can't get any of it to work.