Strange CSS Results in Navigation Menu
-
I’m in the process of adding a navigation bar to the top of my template a la the Plain Vanilla theme.
https://chetan.ckunte.com/archives/2005/03/07/plain-vanilla-1/
However, I’ve come across a bug that I can’t make sense out of.I copied, pasted and edited the code to match my theme, and the site looks great on both IE and FF (at least on my Mac). However, when I went to validate the css code, I found that I inadvertantly added an extra bracket right above my new “#nav” code.
When I take the bracket out, the navigation menu drops out of place and no longer is “inline” with my header, so I’ve left the extra bracket in the code for now.
I’d like to have solid code, so I’ve been playing for over an hour trying to get the navigation bar to line up with the header without the extra bracket, but I can’t seem to get it to work. My style sheet can be found here:
https://www.raincityguide.com/wp-content/themes/landzilla/style.cssAny ideas on why I would get these results? I’m obviously pretty new to css, but I think I’m making good enough progress where this seems out of the ordinary.
- The topic ‘Strange CSS Results in Navigation Menu’ is closed to new replies.