and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I don't know what this might be so thought it might be a deprecation issue. But if someone could explain wtf could be happening with my css I would be greatly appreciative. This is not the first time I am pulling my hair out over this.
I have posted my html and css below. What happens is that characteristics I put for one element will end up being the characteristics for the other element. For example, the first item in the li class=ucsclnk shows up fine, with background 000, color 069, etc. But then the second on the list takes on the characteristics of the #navcontainer ul a:link, #DE1010 background, etc. What gives?
ANY help would be very greatly appreciated.
Thanks.
[b]HTML[/b]
[syntax="html"]
<div id="navcontainer">
<ul id="navlist">
<li><a href="#" id="current">Home</a></li>
<li><a href="directors.html">Directors</a></li>
<li><a href="cpe.html">Events</a></li>
<li><a href="links.html">Links</a></li>
<li><a href="presidents.html">Presidents</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div id="ucsc">
<ul class="ucsclst">
<li class="ucsclnk"><a></a></li>
<li class="ucsclnk"><a></a></li>
</ul>
</div>
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I am not quite sure what you're saying here. It seems to work fine from what I read. Maybe I am missing something. Here is a cleaner version of your code:
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Thanks for cleaning up the post. I thought I had used the [quote]code[/quote] thing but I guess not.
Anyway, thanks also for the response and attempt to help. I discovered that the basic problem was that I was not using the full selector group. In other words, this
[syntax="css"]#ucsc ul li a:link, #ucsc ul li a:visited {
color:#069;
text-decoration:none;
background-color:#000;
}
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
. Unfortunately that is not the appropriate tag for what you have posted. Snippets which are primarily CSS (or what you are talking about) go in [syntax="css"]...
. Likewise, snippets which are primarily HTML (or what you are talking about) go in