I've been making a portfolio site over the last couple days, pretty much following through the Photoshop to CSS videos. The site is here.
The site is working great in FF, but IE is not happy. 1) The page wrap to centre the content doesnt work 2)There is some stretching going on with the background of the nav buttons.
I have done some searching in regard to the page wrap and it seems to be the problem is Quirks mode. I must confess, i have no idea what that is. However, i tried changing my doctype to exactly what Chris had in his html file in the videos but that just caused the site to format all over the page. As for the buttons, i have no idea what is causing that problem. I have looked over the CSS but cant see where the problem is.
I'm not sure if posting code up will help as i'm not certain where the problem is, but i will include my nav code. HTML -
I've been making a portfolio site over the last couple days, pretty much following through the Photoshop to CSS videos.
The site is here.
The site is working great in FF, but IE is not happy.
1) The page wrap to centre the content doesnt work
2)There is some stretching going on with the background of the nav buttons.
I have done some searching in regard to the page wrap and it seems to be the problem is Quirks mode. I must confess, i have no idea what that is. However, i tried changing my doctype to exactly what Chris had in his html file in the videos but that just caused the site to format all over the page.
As for the buttons, i have no idea what is causing that problem. I have looked over the CSS but cant see where the problem is.
I'm not sure if posting code up will help as i'm not certain where the problem is, but i will include my nav code.
HTML -
CSS -
body {text-align: center;
}
and
div#page-wrap {text-align: left;
}
Make sure you give proper measurements, e.g., (210 px). Don't let the browser guess. :)
Also, use a full DTD:
As far as that wonkiness in IE, float the li, not the a. See what that does. Good luck!
Thanks for the help!