How can I make tables align in Opera & Firefox
-
Hi All, I have a problem in Opera & Firefox.. I have to tables in my aspx page (actually they are two controls) and I want there bottoms to align with each other in the page so I added a row at the end of the table & set its height to 100% & this works fine in Internet Explorer but in other browsers it doesn't do anything and when I set the height in pixels rather than % the other browsers then see it but the height is dynamic & so I can't fix it in pixels.. So what should I do :(
-
Hi All, I have a problem in Opera & Firefox.. I have to tables in my aspx page (actually they are two controls) and I want there bottoms to align with each other in the page so I added a row at the end of the table & set its height to 100% & this works fine in Internet Explorer but in other browsers it doesn't do anything and when I set the height in pixels rather than % the other browsers then see it but the height is dynamic & so I can't fix it in pixels.. So what should I do :(
The reason that it only works in Internet Explorer is because you are using a non-standard attribute. According to the standard, a table row doesn't have any
height
attribute at all. A standard compliant browser should ignore the attribute as it has no specified meaning in the tag.--- single minded; short sighted; long gone;
-
The reason that it only works in Internet Explorer is because you are using a non-standard attribute. According to the standard, a table row doesn't have any
height
attribute at all. A standard compliant browser should ignore the attribute as it has no specified meaning in the tag.--- single minded; short sighted; long gone;
Hi Guffa, I also tried it in the style ( style="height: 100%" )in the TD & TR but all in vain.. So any idea what can solve this problem??
-
Hi Guffa, I also tried it in the style ( style="height: 100%" )in the TD & TR but all in vain.. So any idea what can solve this problem??
When you are setting the height of a table row in percent, it would be a percentage of the height of the parent object, which is the table in this case. Have you specified a height for the table? Otherwise there is no measurement to derive percentage from.
--- single minded; short sighted; long gone;