Hi Guys, I am trying to use Chris' Scrolling Sidebar - and I cannot figure out why the images in it are being stretched in Chrome and Safari. I have specified their width and height but they are still getting stretched out. I can't figure it out.
To test just inspect the element in chrome or firefox and click on the img in the html, then uncheck the height: 100% in the right panel and you'll see that it fixes it.
Hey John, good catch, it's part of my standard CSS reset, so I didn't even think of looking there and I've never had a problem with it before. You learn every day.... Thanks
I am trying to use Chris' Scrolling Sidebar - and I cannot figure out why the images in it are being stretched in Chrome and Safari. I have specified their width and height but they are still getting stretched out. I can't figure it out.
The site is a mess and very much under construction at http://depinhodomains.com/tt/index.html
Any clues to what is causing this would be greatly appreciated.
This is what's causing it:
main.css line 133. The height 100% is stretching them. Take that off and you'll be good to go.
John
That height: 100% at the end is causing it.
To test just inspect the element in chrome or firefox and click on the img in the html, then uncheck the height: 100% in the right panel and you'll see that it fixes it.
John