Hi,
I have some CSS code, which I would like to change into a class so I can use it again on the page, but I'm having difficulty trying to do it.
The code is for the <ul></ul> form property.
I've managed to create a class for 'nav', but can't pick up the <li></li> properties associated with it.
Appreciate any help.
Thanks.
Here is the code:
I have some CSS code, which I would like to change into a class so I can use it again on the page, but I'm having difficulty trying to do it.
The code is for the <ul></ul> form property.
I've managed to create a class for 'nav', but can't pick up the <li></li> properties associated with it.
Appreciate any help.
Thanks.
Here is the code:
Code:
ul#nav {
clear:both;
float:left;
color: #000000;
background: #E0FFE0;
padding:0px 0px 20px 0px;
margin:0px 0px 20px 0px;
list-style: none;
width:200px;
border-bottom:1px solid #72A372;
}
ul#nav li {
padding:2px 0px 2px 0px;
margin:0px 0px 0px 0px;
float: left;
width:200px;
}
ul#nav li a {
border:1px solid #E0FFE0;
display: block;
font-size: small;
font-weight: normal;
text-decoration: none;
padding:0px 0px 0px 20px;
margin:0px 0px 0px 0px;
}
ul#nav li a:hover {
background: #FFFFFF;
color: #993333;
width: 178px;
border: 1px solid #72A372;
}