Well as you may have guessed, IE doesn't respect the height attribute for
table cells. Anything you do to fix this will be a little kludgy, but one
idea would be to put your content within div tags inside the table cells.
Set a height on the div. You can put a default height into a style sheet,
and then override that page on a local style on the page or even in a style
on the element.

-Kevin

----- Original Message -----
From: "Ian Skinner" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 11:00 AM
Subject: HTML & CSS only table question.

> Haven't gotten much of a response from Talk, so I thought I would try
here.
> Hopefully there are enough of us working this week to get a answer.
>
> > I have a table laid out something like this simplified example:
> >
> > <table>
> >         <tr>
> >                 <td>data</td>
> >                 <td rowspan=4>Data</td>
> >         <tr>
> >         <tr>
> >                 <td>data</td>
> >         <tr>
> >         <tr>
> >                 <td rowspan=2>data</td>
> >         <tr>
> > </table>
> > I am working on the calculation that results in the unnecessary rowspan
in
> > the third row.  But I don't think that applies to this issue.
> >
> > This results in a display such as this:
> > (I hope this comes through clearly)
> >
> > |------|------|
> > | data | data |
> > |------|      |
> > | data |      |
> > |------|      |
> > | data |      |
> > |------|------|
> >
> > Now the problem is that the data in the right column is several lines
> > long, and is sometimes longer then the data in the rows in the left
> > column.  When this happens, I would like the height of the top two cells
> > to remain constant, and the bottom cell to expand to match the height of
> > the right column.  I've tried setting the height with both the height
> > parameter in the <td> tag and the CSS height property.  Neither seemed
to
> > have much effect.  The three rows on the left are spacing themselves
> > equally.  This needs to work in our IE5.5+ intranet environment.
> >
> > Anybody have any suggestions?
> >
> > Thank You
> >
> > --------------
> > Ian Skinner
> > Web Programmer
> > BloodSource
> > www.BloodSource.org
> > Sacramento, CA
> >
> >
> >
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to