Hi,

I cant think how to do this.

I have a 3*3 table and I would like each cell to contain two parts, label and content, each 300px wide.

The label part is to be on the left and will contain label text, have a different background color to the content and have a fixed width, say 50px. The label should be full height of the cell.

I am trying to achieve a layout so that regardless of the length of text in the label part or the text part, the two parts will always extend to the height of the table cell.

I want to do it this way, rather than use a separate td for the label so that I can have independant control over the size of the labels (ie some labels could be wider.

I have tried using float left, height 100% for the label part, but if the cell height grows, text gets wrapped under the label part.


I would appreciate any suggestions.

Thanks
Tonypm

_________________________________________________________________
PC Magazine’s 2007 editors’ choice for best Web mail—award-winning Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507

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

Reply via email to