Problem with CSS padding/margin
-
Hello!
I’m rather new to HTML/CSS and programming in general. I have encountered a problem regarding the navigation area on my up and coming webpage.
The problem, in this case, is that I can not find a way to remove some margin/padding on the other side of the navigation bar (the navigation is set to float:left)
I have tried everything. I’ve tried to look through if I have set any padding or margin on the text of the navigation bar and can’t seem to find the source of it.Could it be because of a regular syntax error or could it be because list-style-type:none is stopping it from deleting the margin?
Are there further enhancements I can make to my code here, as I am not an expert at this yet?My code is the following:
#nav {
background:gray;
float:left;
padding:0px 0px 60px 0px;
width:26.3%;
margin:0px;
}#nav ul {
margin:0px;
}#nav ul li {
color:white;
list-style-type:none;
margin:38px 0px 38px 0px;
font-weight:bold;}
#nav ul li a {
background:black;
color:white;
padding:15px 10px 15px 0px;
margin:0px;}
-
Sorry, dude, this is not the right place to discuss that.
This Community is for Notepad++ - related discussion.
Good luck in your quest for answers–somewhere else.