Forums

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

Home Forums CSS Autoexpand and Autoshirink of div ?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #36005
    nepsdotin
    Participant

    I have rows of photo of same size shown, when you dont have sufficient number of photos in a row, the photo should expand in width to occupy full space. There can 3 inner divs or 4 inner divs.

    // CSS Section

    .cont {
    position : absolute;
    background : #E4EDF7;
    border : 1px solid grey;
    height: 200px;
    width:400px;
    }

    .ibox {
    float: left;
    background : green;
    margin: 5px;
    border: 1px solid grey;
    height: 50px;
    width: 100px;
    }

    // HTML Markup

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