Stefan Tilkov's Random Stuff

CSS, again

I played with the site’s CSS layout again; once again, the most important lesson learned is that my talent for Web design clearly leaves a lot to be desired. Since we’re having the company website redesigned professionally in the next few weeks, anyway, I’ll postpone a major refactoring until then. In the meantime, I’m almost satisfied with what I have now. There’s just one annoying detail left: The body element has a light grey background. It contains only one element (#container) that contains all of the rest and has a white background and a border. For some reason, though, it seems that CSS is too intelligent for me - the box is not drawn for all of the contents (scroll down to the end of the navigation stuff on the right to see what I mean). I can’t seem to find out what is causing this, and as both Safari and Firebird show the same behavior, it’s obviously not a bug … maybe I have some knowledgeable reader who can suggest a workaround?

Comments