I have three columns. I want to make the middle column flexible/stretchable using CSS based on content of a row. IE is rendering this stupid, FF is fine of course.
Here is a bit of code to view the content of each cell:
Here is the CSS for this cell:Code:<td width="278" height="180" name="1"><img src="t2hdrimgL.jpg" width="278" height="180" name="2"></td> <!--this is the cell I want flexible--> <td width="1%" class="flex"> </td> <td align="right" name="3"><img src="t2logo.jpg" width="487" height="180"></td>
When this CSS is inserted, the width stretches as long as the flexBG.jpg image resulting in major bottom scroll in IE.Code:.flex { background-image: url(flexBG.jpg); background-repeat: repeat-x; background-position: right; width: 100%; }
What I want:
Cell "name 1" to be width="278px" image "align=default"
Cell "name 2" to be flexible with a background image "valign=right"
Cell "name 3" to be width="487" image "valign=right"
Can anyone please help make this middle column flexible and adjust itself using CSS?
Thanks in advance.



Reply With Quote
Bookmarks