mpjohnso
Member
Posted 3 years ago #
The site is: http://www.earthascope.com
You'll notice on the main page that pictures within the post excerpts are squished down as well as when you visit an individual post's page. If you right click on the images and view them, you'll see that they are, in fact, a different width than is displaying.
I can't for the life of me figure out what is over-riding the width of my pictures but if someone could take a quick look, I'm sure it's something pretty simple...
Thanks so much in advance!!!!
Your theme has this CSS in the stylesheet:
.excerpt .entry img
{
max-width: 175px;
max-height: 175px;
width: expression(this.width > 175 ? 175: true);
height: expression(this.height > 175 ? 175: true);
}
That forces the images to 175 wide. Also, that "expression" thing doesn't work in most browsers. I'd just remove that entirely.
mpjohnso
Member
Posted 3 years ago #
so I should just remove the max-width line? do I need to remove it somewhere else as well since the image is affected in the single post version as well?
and what is the expression thing supposed to do anyways?
Thanks otto!
mpjohnso
Member
Posted 3 years ago #
nevermind on the removing it somewhere else, it fixed it in both places... but i'm still wondering what the expression thing is about
TIA!