I cannot figure out how to make my buttons bigger in width or height. I have tried applying these properties to every rule but having no luck. Have I written something that is cancelling out so to speak.
The desired look is to have the menu in a black backgrounded “nav” tag and the “menu” to be floated to the right. I have achieved this but have I done it the right way… is this what is holding my buttons from being able to have a size…?
Here is the HTML and below is the css
<body>
<div id="wrapper">
<nav>
<ul>
<li><a href="#"> Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Resources</a></li>
<li><a href="#"> Help</a></li>
</ul>
<p> </p>
<p> </p>
</nav>
</div>
</body>
#wrapper {
width: 900px;
background-color: #FF0;
}
ul, ol, dl {
margin: 0px;
padding: 0px;
}
nav{
display:block; /* If this is not displayed the black background does not show, is this correct..?*/
background-color:#000;
padding-top: 20px;
padding-bottom: 20px;
}
nav ul {
padding-top: 5px;
/*padding-right: 10;*/
padding-bottom: 10px;
float: right;
margin-right: 10px;
}
nav ul li {
display:inline;
/*list-style-type: none;*/
font-size: 25px;
}
nav ul li a {
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
background:-webkit-gradient(linear, left top, left bottom, from(#f70830), to(#c4d927));
margin-right: 5px;
}
nav ul a, nav ul a:visited {
text-decoration: none;
background:-moz-linear-gradient(top,#f70830, #c4d927);
border-radius:10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
}
nav ul a:hover, nav ul a:active, nav ul a:focus {
color: #00F;
border-radius:10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
background: -webkit-gradient(linear, left top, left bottom, from(#0a1df5), to(#181a05));
background: -moz-linear-gradient(top, #0a1df5,#181a05);
}
Like I say I have tried applying width and height to everything ut its not happening, can anyone help me…