Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Photo not resizing my div

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28002
    SalidaGuy
    Participant

    Simple I am am sure but my div will not resize when inserting a photo. Example here:

    http://74.54.136.162/~salidac2/contact-us.html

    As you can see, the photo overhangs the border. I would expect the div to grow?

    I can put in returns, but that seems so … bad.

    Any suggestions.

    Also, since I am going to be making many of these Blue Box Divs, sometimes several per page, if there is some CSS trick should be employing to make it all work better, please feel free to critique.

    mark

    #70908
    matt25
    Participant

    You could add a height of about 400px to #Blue-Box-Top. or an min-height if you are likely to add more text.
    Matt

    #70966
    Makeshift
    Member

    Setting the Overflow property to either ‘auto’ or ‘hidden’ to your Blue-Box-Top div should fix it.

    #70968
    SalidaGuy
    Participant

    Thanks to all for the assistance. Setting overflow to auto did the trick.

    Dreamweaver does not show the change, but it does work in the browsers.

    mark

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.