# Adjusting DIV length with CSS

**URL:** https://forum.kirupa.com/t/adjusting-div-length-with-css/237769
**Category:** web dev
**Created:** [September 3, 2007, 6:47pm UTC](https://forum.kirupa.com/t/adjusting-div-length-with-css/237769 "2007-09-03T18:47:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stefanmhodgson](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@stefanmhodgson](https://forum.kirupa.com/u/stefanmhodgson)
#### Post date: [September 3, 2007, 6:47pm UTC](https://forum.kirupa.com/t/adjusting-div-length-with-css/237769/1 "2007-09-03T18:47:05Z")

</div>

Hello all,

I was wandering if there was a property in css that makes a DIV a minimum length. Basically I want thye DIV to be at least 500px and then, when text is added that goes beyond 500px, for it to extend accordingly. This is for the news page of a site. Is there a way of doing this?

Thanks Stefan
