All,
This might be a stupid question but I'm not the best in the world at css.
I love how nice css styles look and I like tinkering with them to get'em to do what I'm looking for. However, now that I've spent time get that done, what do I do with my regular UL and LI elements in my site?
For example I have a UL style that looks like this...
ul{list-style-position: outside;
list-style-image: url(/images/blue_arrow.gif);}
li {padding-left:5px;}
And a Nav style that looks like this...(this is obviously just part of the nav styles)
#navcontainer ul
{
list-style: none;
margin: 0;
padding: 0;
border: none;
}
#navcontainer li
{
margin: 0;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #CCCCCC;
}
#navcontainer li a
{
display: block;
padding: 5px 5px 5px 0.5em;
background-color: #FFFFFF;
color: #999999;
text-decoration: none;
width: 100%;
padding-left:15px;
padding-bottom:8px;
}
So, my question...Can I create a pseudo class or something for one of these so they don't conflict? Something that isn't going to break across browsers.
Thanks,
Micah
This might be a stupid question but I'm not the best in the world at css.
I love how nice css styles look and I like tinkering with them to get'em to do what I'm looking for. However, now that I've spent time get that done, what do I do with my regular UL and LI elements in my site?
For example I have a UL style that looks like this...
ul{list-style-position: outside;
list-style-image: url(/images/blue_arrow.gif);}
li {padding-left:5px;}
And a Nav style that looks like this...(this is obviously just part of the nav styles)
#navcontainer ul
{
list-style: none;
margin: 0;
padding: 0;
border: none;
}
#navcontainer li
{
margin: 0;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #CCCCCC;
}
#navcontainer li a
{
display: block;
padding: 5px 5px 5px 0.5em;
background-color: #FFFFFF;
color: #999999;
text-decoration: none;
width: 100%;
padding-left:15px;
padding-bottom:8px;
}
So, my question...Can I create a pseudo class or something for one of these so they don't conflict? Something that isn't going to break across browsers.
Thanks,
Micah