Jump to content

Minimum height, no max height?


Bongeh

Recommended Posts

Is it possible to create a div, that has a minimum height of say, 600px, so that if the content is only 300px long the box stays 600px heigh, but if the content is say, 800px long, the box will be elongated to 800px?

 

Sorry if theres a simple answer to this, its something thats just crossed my mind and i was wondering if its something thats a standard feature of divs i dont know about

Link to comment
https://forums.phpfreaks.com/topic/89703-minimum-height-no-max-height/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.