View Full Version : Scaleable text boxes

10-10-2007, 06:59 PM
Ive created a look that I like but Id like for the boxes containing the text to be malleable when viewer change the text size the boxes grow in length to contain it. The boxes are arranged in a table with three columns and Id like for the all of boxes in that column to grow in tandem so the general design continues to line up. Unfortunately, the center column contain a flash image with won't expand with the text.

www.cellocelli.com (http://www.cellocelli.com)

This is the CSS for the boxes:

.infoboxtop { height:180px; width:230px; border:1px solid #cfcfcf; background-color:#ffffff;}

The table has a fixed height as of now:

<table width="740" height="550" align="center" border="0" cellspacing="0" cellpadding="0">

10-10-2007, 07:36 PM
I have little experience with this, but I'm pretty sure it should work if you set the height of those boxes in 'em' instead of 'px' .
em is based on the font size so it should grow parallel with the font size.