Le 3 janv. 2014 à 03:16, Christopher Akins <tipper...@gmail.com> a écrit :
> Does anyone have any ideas as to how that could happen? Obviously, we need > to be able to set the featured image within WP for page load reasons, but > it sure seems like the CSS should apply regardless of what an image's src > path is. > > The code for two entries is below. The first image in the first <li> is > NOT obeying the CSS rule, the second is obeying it. > > ••••• > > ….. > > ••••• > > Thanks for any insight into this strange one. :-) Welcome back Christopher, Assuming the website in question is http://cityview.springfieldmo.gov (always good to mention that explicitly) In this stylesheet: http://cityview.springfieldmo.gov/wp-content/themes/videozoom/style.css inside your screen and (max-width: 1000px) {} block you have this: #content ul.posts div.cover img, #content .widget ul.posts div.cover { width: 100%; height: auto; /* < - - - - - !!!! */ max-width: 100%; } Note the ‘height: auto’. The image will be scaled to the width of the container, the height will be adjusted automatically based on the intrinsic dimensions of the image. For windows larger than 1000px, the height of the images is locked to 128px, set in #archive img.Thumbnail { height:128px; /* < - - - - - */ border-radius: 5px; /* … */} In your http://cityview.springfieldmo.gov/wp-content/themes/videozoom/custom.css file You can reproduce the same issue with desktop Safari or Firefox or any other recent browser, if you make your browser window narrower than 1000px. The above media query will also kick in. Philippe -- Philippe Wittenbergh http://l-c-n.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/