Not a lot of time here, but I'll help you as much as I can. (If you still need help, I'll be back on this evening.)
Menu text not centering:
If this were my mark up, here's what I'd do. I would first off put my navigation in a ul (because it is, after all, a list of links), and then style it thusly
Code:
#nav { text-align: center; etc.(this will center the ul in IE)
#nav ul, nav li {
display: inline;
margin: 0px auto; (this will center the ul in Mozilla, firefox, NS)
text-align: right; (resetting the alignment for the IE hack)
etc.}
IE pwned:
You have to remember that in IE, the box model is different. In Firefox, Mozilla etc. the box model works like this: width+margin+padding+border=
size of the box. In IE, the size of the box is width. Margin, padding and border are all added in after the width is specified. To correct this, you use a box model hack to feed IE the correct width (i.e. the width of the box -padding -margin - border)
Here's the box model hack that I use, known as the smbh:
Code:
* html <selector> {
width: <width -padding-border-margin >;
w/idth: <width - padding-border-margin>;
}
I am not sure that this is going to fix all of the problems in your layout because you're using floats and there is about a 4 px jog that IE adds to floats sometimes, but try it. If IE adds the jog, post back.
|