Image "hang" outside of sidebar

Community Forums Forums Design Tips and Tricks Image "hang" outside of sidebar

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  SelenaD 1 year, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31514

    chantal2012
    Participant
    Post count: 60

    I’m working on http://yvesrobichaud.com at the moment.  The sidebar on the right has a width of 185px.  If I put an image larger than 185px, it automatically resizes it so it fits within the 185px.  What code do I use to have the image “hang” outside of sidebar.  For instance, if I had an image which was 225px and I want it to stay that size.

    #31523

    SelenaD
    Participant
    Post count: 36

    Remove the following line from your css:

    img {
    max-width: 98%;
    }

     

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.