Martin wrote:
Quote:
I am quite new to css
My first problem is I have a style which looks ok in IE6 but not in Mozilla |
That usually means you're doing something wrong. IE6 is very buggy where
it comes to CSS. You should target mozilla first, then work out the IE
tweaks. Note that IE7 has a number of IE6 CSS bugs fixed, but it does
have other problems.
Read this:
http://www.w3.org/TR/CSS21/box.html#box-dimensions
And this:
http://brainjar.com/css/positioning/
The width property refers to the content width, which excludes padding,
borders, and margins. Consequently, your widths don't add up to 100%
except when conditions are just right. That won't happen often. All it
takes is a text size increase or a smaller window to mess up the layout,
even in IE.
If you're new to CSS, you would be better off finding a nice 3-column
template that's already had the bugs worked out. Even if you don't use
the template for this project, you can study it to see how the
techniques work.
--
Berg