Two stylesheet for li and ul

hi,

i have two two stylesheet for li an ul with hover functions on the same blog. With one the other gets effected. How can I make such that different elements of the blog such as sidebar headers use different the two different li and ul?

thanks

It’s quite easy to target a particular element separately in CSS. For example, you can add a class or id to the element. But often, you don’t need to do that, as you can target the element via a class on a parent element. For example, if your ul is inside a .sidebar element, you can target it with .sidebar ul.

For more specific assistance, you need to show us the environment you’re working in.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.