[thelist] css/div question..

bruce bedouglas at earthlink.net
Sun Jun 12 12:56:45 CDT 2005


hi..

i have a css/div/table question that i can't seem to get my hands around.

i have a div/table that produces a 'box/area'. i want to be able to create a
select box based upon the results of a table select from a mysql database.
my problem is that i don't know many elements will be returned, so i don't
know how 'long/height' to make the box/area. is there a way to create a
'box/area' that can grow/shrink/resize according to the size of the
underlying elements...


  +------------------------+
  |                        |
  |                        |
  |                        |
  |  +--------+            |
  |  |        |            |
  |  |        |            |
  |  |        |            |
  |  +--------+            |
  |                        |
  +------------------------+


  +------------------------+
  |                        |   <<< don't want this!!!
  |                        |
  |                        |
  |  +--------+            |
  |  |        |            |
  |  |        |            |
  |  |        |            |
  |  |        |            |
  +------------------------+
     |        |
     |        |
     +--------+



  +------------------------+
  |                        |
  |                        |   <<< would like this!!
  |                        |
  |  +--------+            |
  |  |        |            |
  |  |        |            |
  |  |        |            |
  |  |        |            |
  |  |        |            |
  |  |        |            |
  |  +--------+            |
  |                        |
  +------------------------+


 any ideas/thoughts/etc..

 thanks

 -bruce
bedouglas at earthlink.net




More information about the thelist mailing list