Forum Moderators: open
The layout of my site consists of three tables each 749 pixels in width like so:
header (table width 749px no linebreak after it)
body (table width 749px no linebreak after it)
footer (table width 749px)
On my 1024x768 monitor the tables align themselves nicely, but I was thinking what happens if a person has a resolution of 1600. Would I get this effect:
header body
footer
Then I thought that I could put a little javascript to check the resolution of the visitor and a line break if necessary. Is it safe to assume that someone having a resolution as high as that would also not disable javascript from their browser? Is there another workaround for this (without changing the layout of the entire site!)
Thanks in advance.
I thought of another technique, I tested it out and it looks fine on the browsers I've tried to so far.
Since this is a PHP page the header and footer are printed via function calls. I put a table at the beginning of the page and closed it at the end. This way everything is wrapped nicely inside one big table.
Btw...where can I get my hands on old browser versions to test the layout?