# Elastic CSS-like background/containers for dynamic text fields in flash?

**URL:** <https://forum.kirupa.com/t/elastic-css-like-background-containers-for-dynamic-text-fields-in-flash/272321>\
**Category:** flash\
**Created:** [October 3, 2008, 10:11pm UTC](https://forum.kirupa.com/t/elastic-css-like-background-containers-for-dynamic-text-fields-in-flash/272321 "2008-10-03T22:11:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjmorga](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jjmorga](https://forum.kirupa.com/u/jjmorga)\
**Post date:** [October 3, 2008, 10:11pm UTC](https://forum.kirupa.com/t/elastic-css-like-background-containers-for-dynamic-text-fields-in-flash/272321/1 "2008-10-03T22:11:06Z")

</div>

Elastic CSS-like background/containers for dynamic text fields in flash? :mario: Anyone ever pondered this one? In CSS it looks like this:

```auto
box {
  background: url(img/div-bottom.gif) no-repeat bottom left;
  }

.box h3 {
  background: url(img/h3-bg.gif) no-repeat top left;
  }

```

I’m trying to create a dynamic text field on top of a nifty rounded button that conforms to fit the amount of text entered short of creating a lengthy function.
