I'm working on a horizontally fixed and vertically centered design using CSS at the moment. Here's what I've done so far.
As you can see I've placed all the site's content within a container which I am trying to center using body{text-align: center}. It works in IE but Firefox seems to be ignoring text-align and also my margin settings for some reason.
Also on my classes page, Firefox seems to be stretching the height of the table cells for some reason. I don't know why.
This is my first attempt at CSS so I'm sure I've just made a silly mistake somewhere. Anyhow, I'd appreciate it if anyone could help. Thanks!
As you can see I've placed all the site's content within a container which I am trying to center using body{text-align: center}. It works in IE but Firefox seems to be ignoring text-align and also my margin settings for some reason.
Also on my classes page, Firefox seems to be stretching the height of the table cells for some reason. I don't know why.
This is my first attempt at CSS so I'm sure I've just made a silly mistake somewhere. Anyhow, I'd appreciate it if anyone could help. Thanks!
Comment