40 users online (1 members and 39 guests)  


  Results 1 to 2 of 2

Related

  1. Domain point to two servers?    Forum: One Stop Domains Forum
    Replies: 3
  2. Centering round a certain point    Forum: HTML Forum
    Replies: 2
  3. Got to the point where I Welcome Spam!    Forum: Email Spam
    Replies: 0
  4. how to one domain point to two server?    Forum: One Stop Domains Forum
    Replies: 1
  1. #1
    darkmind's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2008
    Posts
    1

    div autosize...but only up to a point

    hi!

    im new to CSS, so im not sure if this is simple.

    im looking for a way to autosize a div to the content, but only if the content is less than a certain number of pixels

    high. Beyond that height, the scrollbars would pop up.

    how would this be done?

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: div autosize...but only up to a point

    Use the max-height property.



Tags for this Thread