My page has a slide show with captions at the bottom of each image. The captions are surrounded by a grey box using CSS. Right now that grey box is set to always display at 50px. On some of the slides the caption box has too much text which wraps down to the next column and gets hidden. I would like to make the grey box expand vertically if the text overflows, but right now it just cuts off.
HTML
<div id="page-wrap">
                                                            Â
      <div class="slider-wrap">
           <div id="main-photo-slider" class="csw">
                 <div class="panelContainer">
                      <div class="panel" title="Panel 1">
                            <div class="wrapper">
                                 <img src="main_slides/slide1.jpg" alt="temp" />
                                 <div class="photo-meta-data">
                                       Play 3 on 3<br />
                                       <span>A youth basketball league for children ages 4-12. basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball </span>
                                 </div>
                            </div>
                      </div>
                      <div class="panel" title="Panel 2">
                            <div class="wrapper">
                                 <img src="main_slides/slide2.jpg" alt="temp" />
                                 <div class="photo-meta-data">
                                       Get in the game<br />
                                       <span>All skill levels welcome</span>
                                 </div>
                            </div>
                      </div>           Â
                      <div class="panel" title="Panel 3">
........ etc for more slides
CSS (I'm pretty sure that this is the rule I need to change)
.photo-meta-data      { background: url(../main_slides/transpBlack.png); padding: 10px; height: 100%;
                      margin-top: -50px; position: relative; z-index: 9999; color: white; }
I set the height of the above to 100%, but this didn't fix the problem. If anyone has any ideas I would appreciate it. I've included my CSS include file and my main page is  below. Thanks for the help.
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     Â
      <title>Featured Content Slider</title>
     Â
      <link rel="stylesheet" type="text/css" href="css/styles.css" />
      <script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
      <script type="text/javascript" src="js/jquery-easing-1.3.pack.js"></script>
      <script type="text/javascript" src="js/jquery-easing-compatibility.1.2.pack.js"></script>
      <script type="text/javascript" src="js/coda-slider.1.1.1.pack.js"></script>
     Â
      <script type="text/javascript">
     Â
           var theInt = null;
           var $crosslink, $navthumb;
           var curclicked = 0;
          Â
           theInterval = function(cur){
                 clearInterval(theInt);
                Â
                 if( typeof cur != 'undefined' )
                      curclicked = cur;
                Â
                 $crosslink.removeClass("active-thumb");
                 $navthumb.eq(curclicked).parent().addClass("active-thumb");
                      $(".stripNav ul li a").eq(curclicked).trigger('click');
                Â
                 theInt = setInterval(function(){
                      $crosslink.removeClass("active-thumb");
                      $navthumb.eq(curclicked).parent().addClass("active-thumb");
                      $(".stripNav ul li a").eq(curclicked).trigger('click');
                      curclicked++;
                      if( 6 == curclicked )
                            curclicked = 0;
                     Â
                 }, 5000);
           };
          Â
           $(function(){
                Â
                 $("#main-photo-slider").codaSlider();
                Â
                 $navthumb = $(".nav-thumb");
                 $crosslink = $(".cross-link");
                Â
                 $navthumb
                 .click(function() {
                      var $this = $(this);
                      theInterval($this.parent().attr('href').slice(1) - 1);
                      return false;
                 });
                Â
                 theInterval();
           });
      </script>
</head>
<body>
     Â
      <div id="page-wrap">
                                                            Â
      <div class="slider-wrap">
           <div id="main-photo-slider" class="csw">
                 <div class="panelContainer">
                      <div class="panel" title="Panel 1">
                            <div class="wrapper">
                                 <img src="main_slides/slide1.jpg" alt="temp" />
                                 <div class="photo-meta-data">
                                       Play 3 on 3<br />
                                       <span>A youth basketball league for children ages 4-12. basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball basketball </span>
                                 </div>
                            </div>
                      </div>
                      <div class="panel" title="Panel 2">
                            <div class="wrapper">
                                 <img src="main_slides/slide2.jpg" alt="temp" />
                                 <div class="photo-meta-data">
                                       Get in the game<br />
                                       <span>All skill levels welcome</span>
                                 </div>
                            </div>
                      </div>           Â
                      <div class="panel" title="Panel 3">
                                                       <div class="wrapper">
                                 <img src="main_slides/slide3.jpg" alt="temp" />
                                 <div class="photo-meta-data">
                                       Volunteer<br />
                                       <span>If you have a few hours per week and like sports, <br />
sign up to be one of our coaches.</span>
                                 </div>
                            </div>
                      </div>
                      <div class="panel" title="Panel 4">
                            <div class="wrapper">
                                 <img src="main_slides/tempphoto-4.jpg" alt="temp" />
                                 <div class="photo-meta-data">
                                       A Poem by Shel Silverstein<br />
                                       <span>Falling Up</span>
                                 </div>
                            </div>
                      </div>
                      <div class="panel" title="Panel 5">
                            <div class="wrapper">
                                 <img src="main_slides/tempphoto-5.jpg" alt="temp" />
                                 <div class="photo-meta-data">
                                       New Video on CSS-Tricks<br />
                                       <span>Using Wufoo for Web Forms</span>
                                 </div>
                            </div>
                      </div>
                      <div class="panel" title="Panel 6">
                            <div class="wrapper">
                                 <h1>A Tale of Two Cities</h1>
                                 <p><em>Charles Dickins</em></p>
                                 <blockquote>It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to heaven, we were all going direct the other way - in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only.</blockquote>
                            </div>
                      </div>
                 </div>
           </div>
           <a href="#1" class="cross-link active-thumb"><img src="main_slides/slide1.jpg" class="nav-thumb" alt="temp-thumb" width=75/></a>
 <div id="movers-row">
                 <div><a href="#2" class="cross-link"><img src="main_slides/slide2.jpg" alt="temp-thumb" width="75" class="nav-thumb" /></a></div>
                 <div><a href="#3" class="cross-link"><img src="main_slides/slide3.jpg" alt="temp-thumb" width="75" class="nav-thumb" /></a></div>
                 <div><a href="#4" class="cross-link"><img src="main_slides/tempphoto-4thumb.jpg" alt="temp-thumb" width="75" class="nav-thumb" /></a></div>
                 <div><a href="#5" class="cross-link"><img src="main_slides/tempphoto-5thumb.jpg" alt="temp-thumb" width="75" class="nav-thumb" /></a></div>
                 <div><a href="#6" class="cross-link"><img src="main_slides/tempphoto-6thumb.jpg" alt="temp-thumb" width="75" class="nav-thumb" /></a></div>
           </div>
   Â
height: auto;