I've done some wrok on my site although I have not had too much time to work on it but I think I am on the rith way, now can you guy help me with some issues I have: 1. In firefox the content appears over to the left on top of the left navigation and it is supossed to be centered. 2. the top nav backgourn color does not display. 3. See where the three computer are, I put them there just to try to explain that I want to have three boxes there which will display the info for the three web design packages I'll be offering, but I don;t know the code to have those three boxes, can you guys tell me how to do it. Any other opinions are welcome, thanks a lot
First, fix the html errors. BTW, there is no sane reason to use a transitional DTD on a new document. Then, fix the css errors. One that stood out is {float: center;}. There is no such thing. It's meaningless. cheers, gary
ok I deleted this part but now it the page moved over to the left and I want it centered <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
What kk5st meant by not needing a transitional DTD is that you should use an strict DTD, not that you shouldn't declare a DTD. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> It's less forgiving and you won't be able to include deprecated tags. On the other hand, you'll force IE7 to follow standards more closely. Try specifying the following for the box you want centered: margin-left: auto; margin-right: auto;
Fist of all your markup (CSS and xhtml) are really off. I have looked through your code and you have the right idea but are doing serveral things wrong. The biggest thing was your use of "floats". You don't float everything like you were doing. Read http://alistapart.com/articles/practicalcss/ and http://css.maxdesign.com.au/floatutorial/ and I think it will explain a lot. I cleaned up your markup a bit but it still needs some more work, maybe you can look at what I did and see what you need to do. cheers