Okay, a question for all of you web-designers out there.
Suppose I want to create an HTML page with a table that looks like this:
So, in this table, I want cells 1 and 4 to be of fixed dimensions; cells 2 and 3 of fixed height and width - according to the page width; cell 5 of fixed width, and height - according to the page height; and cell 6 to fill the rest of the page.
So, I give the cells I know the dimensions of the appropriate style attributes, and it seems everything should work out very well... Well, cells 1, 2, 3, and 6 do, indeed, behave as I want them to. However, in IE, cell 4 doesn't want to preserve its height! (It works just fine in Netscape and Opera, but knowing that a lot of people that will browse the resultant page will be users of IE, I have to accomodate them. ) What IE does is, it distributes the height evenly between cells 4 and 5 - both half of cell 6's height... It must have something to do with incorrect interpretation of the rowspan on cell 6, but that doesn't help me much.
Now, if I add a spacer image to cell 5 to make it higher that way, rather than through a style attribute, it works, but that limits how much information I can have in Cell 6... If I put more text there than the height of the spacer image, the problem kicks in again, and IE distributes the left over space evenly between cells 4 and 5...
Sooo, anyone know how to fix that and make cell 4 a fixed height? Help would be greatly appreciated.
Suppose I want to create an HTML page with a table that looks like this:
Code:
+----------+------------------------------------+ | | | | | Cell 2 | | | | | Cell 1 +------------------------------------+ | | | | | Cell 3 | | | | +----------+------------------------------------+ | | | | Cell 4 | | | | | +----------+ | | | | | | | | | Cell 6 | | | | | Cell 5 | | | | | | | | | | | | | | | | | +----------+------------------------------------+
So, I give the cells I know the dimensions of the appropriate style attributes, and it seems everything should work out very well... Well, cells 1, 2, 3, and 6 do, indeed, behave as I want them to. However, in IE, cell 4 doesn't want to preserve its height! (It works just fine in Netscape and Opera, but knowing that a lot of people that will browse the resultant page will be users of IE, I have to accomodate them. ) What IE does is, it distributes the height evenly between cells 4 and 5 - both half of cell 6's height... It must have something to do with incorrect interpretation of the rowspan on cell 6, but that doesn't help me much.
Now, if I add a spacer image to cell 5 to make it higher that way, rather than through a style attribute, it works, but that limits how much information I can have in Cell 6... If I put more text there than the height of the spacer image, the problem kicks in again, and IE distributes the left over space evenly between cells 4 and 5...
Sooo, anyone know how to fix that and make cell 4 a fixed height? Help would be greatly appreciated.
Comment