shopfor2 Posted January 25, 2010 Report Share Posted January 25, 2010 Quote Link to comment Share on other sites More sharing options...
Andrea Posted January 25, 2010 Report Share Posted January 25, 2010 Take out that center tag - it's deprecated. Add a width to your #wrapper and give it a margin: o auto - and it'll center. Quote Link to comment Share on other sites More sharing options...
Andrea Posted January 25, 2010 Report Share Posted January 25, 2010 BTW - you have several coding errors - and tables should NOT be used for layout. That's so 90s - and they are long gone. In you CSS, you have wrapper twice - but you're missing the '#', so the styles won't show. (and you can drop that position relative, as well.) #wrapper { width: 1010px; margin: 0 auto; } Quote Link to comment Share on other sites More sharing options...
shopfor2 Posted January 25, 2010 Author Report Share Posted January 25, 2010 Quote Link to comment Share on other sites More sharing options...
shopfor2 Posted January 25, 2010 Author Report Share Posted January 25, 2010 I can see that my wrapper div is centered at the top of the page, but it does "wrap" any of the divs???? Boy, do I feel dumb!!!!!!!!!!!!! Quote Link to comment Share on other sites More sharing options...
Andrea Posted January 25, 2010 Report Share Posted January 25, 2010 You have a closing div between your Quote Link to comment Share on other sites More sharing options...
shopfor2 Posted January 25, 2010 Author Report Share Posted January 25, 2010 Oh I did it!!! Thank You for your help... Now on to my new challenge, replacing my table for my nav bar with divs...Oh I feel a headache coming on! Just kidding, this is kind of fun!! Quote Link to comment Share on other sites More sharing options...
Andrea Posted January 25, 2010 Report Share Posted January 25, 2010 For a menu, use a list, not divs. And it's bad practice to have an image based menu. If someone cannot see images, they have NO navigation. Quote Link to comment Share on other sites More sharing options...
shopfor2 Posted January 25, 2010 Author Report Share Posted January 25, 2010 For a menu, use a list, not divs. And it's bad practice to have an image based menu. If someone cannot see images, they have NO navigation. Andrea, Thank you for helping me... I was going to put tables on top of my div's so that I can add content. So what would be the correct way of doing this. I have back ground images in my div's. What are lists? Is this what I would use for the navigation? I exported the html from fireworks for my nav and I guess it automatically puts it into tables?? Oh my, I have so much to learn Quote Link to comment Share on other sites More sharing options...
PicnicTutorials Posted January 25, 2010 Report Share Posted January 25, 2010 (edited) Well, you can use images all you want for the nav. You just want to have text in place as a back up and SEO. Edited January 25, 2010 by Eric Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.