There is something wrong with my CSS but i cant find it
A few days ago i made a webpage, using this as a reference, that was working fine. I accidently deleted it and have had to redo it from scratch. Somehow, this time i am having problems, this is what it looks like now. http://i57.tinypic.com/2vttnhs.png. i highlighted it using chrome so you could see how it is messed up. the links are being shown below the position of the actual "div"
It's impossible to diagnose the issue from an image. Post the page somewhere where people can see exactly what you have done.
Can noone help? should i just redo the stylesheet from scratch?
1. Your menu has <p> inside <a> inside <li>. Try replacing <p> </p> with <span> </span>.
2. validate your code, then see what problems remain!
In the CSS:
3. You make reference to the class navBar without declaring it. I'm not sure if that works.
4. There is code which, as far as I can see, at best does nothing, and at worst is invalid. The rest is overly verbose. Clear out everything that you do not know why it is there, and see what happens!
Last edited by jedaisoul; 02-26-2014 at 10:55 AM.
I noticed the <p> inside of the <a> aswell i changed that already and it didnt work. have the navbar class in the style sheet
border-top-color: rgb(26, 39, 53);
border-bottom-color: rgb(26, 39, 53);
Are you able to show us a version up online on hosting? This would make it a lot easier for us to help.
I have been hosting it on my PC via apache using virtual hosts. i have given you the link to both files, couldn't you host these locally as well?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread