-
A better way to do this?
I’m working on a site with expanding tables to keep it liquid. The annoying problem is that firefox, IE, and Safari all seem to differ on what size certain percentages are.
For example, the table is 3 cells wide, with the left and right being 65% and 33% wide, and the middle cell being 2%. The whole table itself is 100% wide. The middle is forced to expand to fit the content of the page, and the sides keep it to the right. Supposedly. Each broswer differs on where to locate the middle.
The same holds true for the vertical. I’ve left it more to chance, with just a 100% high table, and everything set to default height. Settings percentages on height was a disaster as IE would ignore the bottom cells as would firefox. Pushing everything to the bottom. So, even with default heights, IE (mac version) still placs the content too far to the bottom, and firefox less so (acceptable). Safari is just right.
None of them match the wysiwyg in Dreamweaver of course. Here’s the site… https://www.wedgephoto.com/landscapes/
I’m hoping there’s some way to poll the actual browser height and width, and then do some basic math to determine what the left and top cell’s true width and height should be, instead of letting a browser do it’s funky math.