d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > N Help With Formatting (html/css) > Navigation Bar
Add Reply New Topic New Poll
Member
Posts: 158
Joined: May 6 2011
Gold: 0.70
Jun 28 2012 02:35pm
Hello there! I just recently started with a webpage, but as always, some random stuff pops up that I can't figure out how to fix...
This is the webpage I need help with, as you can see the "about" tab on the navbar is bigger than the rest, and I have NO clue what's causing it.
www.get-views.net

If you have any idea about what may be causing it, please tell! If you need more information (part of the CSS used etc) then I will provide it :)

-Thx in advance

This post was edited by OshiroTG on Jun 28 2012 02:35pm
Member
Posts: 158
Joined: May 6 2011
Gold: 0.70
Jun 28 2012 02:36pm
Code

#navbar {
  margin: 0;
  padding: 0;
  height: 1.3em;
  }
 
 
#navbar li {
  list-style: none;
  float: left;
  z-index:5;
  position:static;
}

#navbar li a {
  display: block;
  background-color: #5e8ce9;
  padding:5px;
  color: #fff;
  text-decoration: none;
}


#navWrap {
  font-size: 1.3em;
  width: 550px;
  padding:20px;
  position: static;
  top:0px;
  left:0px;
}


The CSS I use for my navbar
Member
Posts: 6,522
Joined: Jun 5 2008
Gold: 0.00
Jun 28 2012 04:32pm
You have 2 hyperlinks in one <li> tag in the about bar.

also rules.php does not have an <li> tag, it's just floating around.

This post was edited by DeadShell on Jun 28 2012 04:33pm
Member
Posts: 158
Joined: May 6 2011
Gold: 0.70
Jun 28 2012 04:43pm
Quote (DeadShell @ Jun 29 2012 12:32am)
You have 2 hyperlinks in one <li> tag in the about bar.

also rules.php does not have an <li> tag, it's just floating around.


Thank you SO much :P me and my noobish mistakes...

I could not SEE that the about bar had two hyperliks in one <li> tag, but when I deleted it and rewrote it, it worked :D

I would send you some FG, but as you see I got none myself :( If you ever need help with hardware or game related stuff please do tell me so I can repay the favor :)

*oh, and if your VERY good with php/mySQL I would like to have a private chat with you :) I'm missing some crucial scripts to make my site work as it is supposed to :)
Member
Posts: 2,736
Joined: Nov 28 2009
Gold: 34.00
Jun 28 2012 04:53pm
Quote (OshiroTG @ 29 Jun 2012 00:43)
Thank you SO much :P me and my noobish mistakes...

Save yourself alot of time by actually going through the code if you have a problem.
Don't think "oh, its not working.. why? don't know. ok going on d2jsp"
Think "oh it's not working.. why? lets see, what code could create the error? oh yes, the div with menu. lets go there and check, CHARACTER BY CHARACTER"


Member
Posts: 158
Joined: May 6 2011
Gold: 0.70
Jun 28 2012 05:03pm
Quote (eagl3s1ght @ Jun 29 2012 12:53am)
Save yourself alot of time by actually going through the code if you have a problem.
Don't think "oh, its not working.. why? don't know. ok going on d2jsp"
Think "oh it's not working.. why? lets see, what code could create the error? oh yes, the div with menu. lets go there and check, CHARACTER BY CHARACTER"


I did look through it, as I said, I couldn't see that error (still couldn't see it after he told me)

And this was the first time I have ever used d2jsp for help :) think I'll do it more often honestly... Guess I have to buy some FG then :D
Member
Posts: 2,736
Joined: Nov 28 2009
Gold: 34.00
Jun 28 2012 05:35pm
Quote (OshiroTG @ 29 Jun 2012 01:03)
I did look through it, as I said, I couldn't see that error (still couldn't see it after he told me)

And this was the first time I have ever used d2jsp for help :) think I'll do it more often honestly... Guess I have to buy some FG then :D


Most people here will help you free, if it's a tiny problem which you describe/explain well. Although it has to be bigger than googlable.. Otherwise I'll tell you to do just that (and I am pretty sure I formed other regular posters here to do the same) :D

This post was edited by eagl3s1ght on Jun 28 2012 05:36pm
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll