Wanting different max size images to text in post (yes, it is driving me insane) (2 posts)

  1. Shaun
    Posted 10 years ago #

    Hi people,

    Having immense problems trying to get my head around implementing different max width of images to the fixed width of the text in pasts and pages.

    So, for example: The text of the post set to 450px wide but the max width images of the images set to 650px.

    Currently, and obviously, when I set the post width to 450px (using .narrowcolumn as in Kubrick) and the max-width of the img to 650px the image can still only be 450px wide.

    I'm still a nascent WordPresser so be gentle!

    Thank you

  2. Shaun
    Posted 10 years ago #

    Kind of got it solved by using

    .narrowcolumn img {
    max-width 650px


    Of course MSIE doesn't support it and for some reason I can't get the famed msie 'fake' max-width javascript to work in the same way. It kind of stretches all the images to that size.

    width:expression(document.body.clientWidth > 650? "650px": "auto" )


Topic Closed

This topic has been closed to new replies.

About this Topic