Hi,I'm trying to write layout managers for a J2EE application. One of the things I'd like to do is to be able to place an element in a large empty cell on a specific location, for example the top right corner. I've tried to do this with css but it's too difficult, I'm using plain old tables now. This works fine in firefox in both standard compliance mode and quirks mode but in IE it only works in quirks mode and I want my pages to render in standard compliance mode. The code below just places a string 'content' in the top right corner, a doctype is defined so it's running in standard compliance mode and only works correct in firefox. I'd appreciate ideas for making it work in IE.Thanks!Guy.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head> <style type="text/css"> html, body{ width: 90%; height: 90%; }</style></head><body><!--Create a table which fill's up all available space--><table style='height:100%;width:100%' border='1'> <!-- Create a row of 1px height and place content in second cell of 1px width the cell will resize to content placed inside --> <tr style='height:1px;width:auto'><td ></td><td style='width:1px'>content</td></tr> <!-- Create a bottom row which consumes all the space left in the table --> <tr style='height:auto;'><td colspan='2' style='width:auto'></td></tr></table></body></html>