<html> <head> <title>Height Issue</title> </head> <body> <table> <tr> <td width="100px" height="100px"style="background-color: ##00FF00">cell 1</td> <td rowspan="2" width ="100px" height="200px"style="background-color: #00FFFF">Cell 2</td> </tr> <tr> <td width ="100px"height="100px"style="background-color: #FFFF00">Cell 3</td> </table> </body> </html>
Simple HTML Table Issue
Page 1 of 13 Replies - 643 Views - Last Post: 04 November 2008 - 08:27 AM
#1
Simple HTML Table Issue
Posted 15 October 2008 - 11:47 AM
I have a simple 2 column 2 row table that looks like the code below. I want to expand cell 2's height without expanding cell 1's height. I need this to be dynamic due to different users seeing different heights in cell 2. Cell 3's height can change all it wants to...I just dont want cell 1's height to change!!
Replies To: Simple HTML Table Issue
#2
Re: Simple HTML Table Issue
Posted 15 October 2008 - 11:56 AM
please make sure you are using the code tags when you post code.
You could do something like this.....
You could do something like this.....
<TD width=60% height=100> <TD width=40%>
#3
Re: Simple HTML Table Issue
Posted 15 October 2008 - 12:15 PM
That didnt help any. It is only an issue with IE ...with Chrome and Firefox.. the fixed height's work fine!! I read somewhere else that it is a colspan problem
#4
Re: Simple HTML Table Issue
Posted 04 November 2008 - 08:27 AM
Use the max-height CSS property:
Worked for me
<td width="100px" style="background-color: ##00FF00; max-height: 10px;">cell 1</td>
Worked for me
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|