Hey people. I’m just about to put my website online but first i need to fix that one last bug and i just can’t fix it or find a solution. (even though i did search on google and html sites)
My site basically consists of a table with 5×5 icons (100×100 pixels for each icon, cellspacing is 4 pixels) that are buttons. Because i want the website to be in the middle of the page, i used align=center for the table but that doesn’t put it right in the center of the browser, but only in the center horizontically. So i added an empty row in the table to make it go down a bit as a whole. It looks fine now at 1280×960. I tested it at 1024×768 as well, but then a small part of the website is so low that a scrollbar is activated and you need to scroll to see the lowest buttons completely and obviously, that’s not what i want.
Just removing the empty row is not an option since i doesn’t look good at a higher resolution, i just want the table to be in the middle.
I was wondering if there’s a way to put tables right in the middle (both horizontically and vertically). Or else (but i’d prefer the other, more clean solution) would it be possible to somehow scan the resolution that is used and adjust the empty row (make it bigger) accordingly.
I have tried fiddling around with relative (in percentage instead of pixels) sizes of cells but that didn’t go nice at all. ? Thanks in advance for the help, Daan