Problem with Container

I am trying to learn web design and building a site on my way. I am just trying to find whatever tutorials I can to help me as I work through each element but I am not always sure whether I am doing each thing the best way.

I have got the top of my home page how I want it with a navigation bar, see this thread for details/code http://www.sitepoint.com/forums/showthread.php?t=700924.

I wanted the next section to be a wide box with an image in the left and text to the right, I have got this just as I want it by setting up a container but for some reason it slightly moves the navigation bar that is above it to the left. If I take the margin and border out of the css it then puts the navigation bar back.

Does anybody know why this is and what I can do to fix it? Thanks :slight_smile:

I hadn’t but have just tried now and it hasn’t done anything (not sure I have done it right though).

I have decided just now that if I am going to keep asking for help it would be easier for everyone if I set the site up on the web so people can easily see the code. I will go and do that now and come back here when done. It’ll probably take me a few days as I have never done it before and need to read up on what to do, what software I need and who to use as a host.

Thanks for the help

That’s a good idea. It makes things much easier. Regarding programs you can use for uploading your site; I don’t know what editor you used to make the website, but some have a FTP functionality included, because that’s where your looking for. I myself use FileZilla FTP, but there are many other FTP programs available. Some free and for some you have to pay. FileZilla is free :wink:

By the way how did you try to clear the navigation div?

Since I know your site is not online as yet and You didn’t post your CSS it’s just a bit of guessing :slight_smile: Did you clear the navigation bar?