For a minor refinement I'm seeing if I can change the white space at the sides visible at higher resolutions, e.g. 1280, to a slightly off-white, perhaps with a very thin white border. To achieve this I've put a 'main' div around the whole content. And have added the following CSS
| Text | |
1 23 45 67 89 1011 1213 1415 1617 | body{
background:#884466; margin:0;
padding:0; color:#000000;
font-size:50%;}
#main{ border:solid #00ffff;
border-width:3 10px;}
#main{ width:993px;
margin:0 auto; position:relative;
background-color:#ffffff;} |
(Don't worry about the border colours, they're deliberately yucky to make it easy to see what's what and where.)
I've got it working as I want it, apparently, on FF, Chrome, Opera, but on IE8 it insists on putting the content area at the left of the window rather than in the middle.
I've got this feeling it may be something to do with the whole structure of the site with its various div elements, tables, etc., and I really do not want to change those!
The test environment can be seen here.
Any thoughts on what I'm doing wrong, or not doing, or whatever, would be appreciated.
Tony



Print Thread
cheshire_man