Hi, Currently have a problem with my list menu which appears right up to the side of the page in IE but when in Firefox ends up with space on the left and pushes the menu to the right of the div. It should appear to the left of the div. Not sure how to remove the random space that appears. Have everything floating to the left and have tried moving a few things around but it does seem to budge.
Has anyone else experienced this? Or have any idea how this could be fixed? Cheers, Nat
While the layout for the nav which goes inside #mainNav is: /* CSS Document */ #mainNav li { padding-left: 0px; padding-right: 20px; position: relative; float: left; }
Have a go at using one of the "reset" css style sheets. They're nice to use because they help you start with a "blank canvas" without some of the quirks. I always seem to work faster when using a reset.
I personally use a modified reset.css and use @import at the beginning of my main stylesheet to link it.
Incidentally, there's a section in the middle of your content where there's a paragraph with a bunch of <br> tags. Ideally, these should be list items in a <ul>
Thanks so much for your help on this. Its is exactly the solution and am going to use the Reset CSS in everything that I do from now on. It will save me hours and give me better control when am coding.
Once again cheers for taking the time to help with this. Thanks Nat