I have a div

.firstname {
 width: 100px;
 background-color: #009933;
 float: left;
 border-top: 1px #000000;
 border-right: 1px solid #000000;
 border-bottom: 1px solid #000000;
 border-left: 1px #000000;
 margin-left: 15px;
 height: auto;
}

this takes the info from a php scraipt(a name) but the problem is when long 
name is entered the div size expands with the text. How can i get it to behave 
like a table where the table height expands to accomodate the name not the 
width?


R.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to