Bloody browsers! Bloody resolutions!
Monday, July 28th, 2003 01:50 amHaving got my course page looking how I wanted it, I decided to be a good web designer and test it on Windows 98 (ugh) at 800x600 resolution (ugh!) on Internet Explorer 5.0 (ugh!!). The result? Ugh!!! More specifically, CSS padding doesn't work, so the text goes right up to the images and the vertical spacing is all wrong, the margins for headers are wrong and the fonts are cruddy - you can see the jagged pixels round the edges in a way that reminds me of my old Atari.
I can probably get round the margins thing by either setting my right margins in pixels (I have images down the right side) or setting my image sizes in ems, which I've never tried before (and probably wouldn't work in IE). Alternatively, I could do some fancy javascripting to detect the browser and screen resolution, and supply different stylesheets accordingly. I've never done that, but I hear it's possible.
I suppose I could also just print one of those irritating messages along the lines of "This page looks best when viewed at 1024x768 on a proper browser. If it looks cruddy, it's your fault, sucker." But that would be bad web ethics. Besides, I've just checked it in Konqueror, and although the results are better than IE, it's still not perfect. Back to the stylesheet ...
I can probably get round the margins thing by either setting my right margins in pixels (I have images down the right side) or setting my image sizes in ems, which I've never tried before (and probably wouldn't work in IE). Alternatively, I could do some fancy javascripting to detect the browser and screen resolution, and supply different stylesheets accordingly. I've never done that, but I hear it's possible.
I suppose I could also just print one of those irritating messages along the lines of "This page looks best when viewed at 1024x768 on a proper browser. If it looks cruddy, it's your fault, sucker." But that would be bad web ethics. Besides, I've just checked it in Konqueror, and although the results are better than IE, it's still not perfect. Back to the stylesheet ...