You might be hearing from me quite a bit because i'm in the process of putting together my first, mostly css site. I am attempting a basic horizontal sprite menu. I have been using Chris' video tutorial to help me with this: http://css-tricks.com/videos/css-tricks-video-13.php
The problem I am having is that when I preview the page in both firefox and safari, the menu just simply doesn't show up. If I get rid of the float:left tag, it shows up vertically but when I try to make it horizontal, it disappears.
You might be hearing from me quite a bit because i'm in the process of putting together my first, mostly css site. I am attempting a basic horizontal sprite menu. I have been using Chris' video tutorial to help me with this: http://css-tricks.com/videos/css-tricks-video-13.php
The problem I am having is that when I preview the page in both firefox and safari, the menu just simply doesn't show up. If I get rid of the float:left tag, it shows up vertically but when I try to make it horizontal, it disappears.
Here is a link to what it is now: http://www.deliproof.com/index2.html
And this is the image of what I would like it to eventually look like. (link here to see the full uncut layout : http://www.deliproof.com/test22.jpg )
http://www.deliproof.com/test22.jpg
Any pointers (with anything at all!!) would be greatly appreciated.
Below is my html code:
And this is my CSS code:
Thank you so much!
http://deliproof.com/index2.html
http://deliproof.com/style2.css
#nav li {display: inline;
float:left;
margin:225px 2px 0 2px;
}
Though, I should point out that it might not be the best solution in the long run. It depends on how you code the rest of the site.