Thursday, 8 August 2013

Can you target with CSS an ID within ID?

Can you target with CSS an ID within ID?

My example would be within an HTML file, that say you don't have access to
change - only the CSS via a stylesheet. Can you target an ID within an ID
the same as you can Classes?
#id1 #id2 {styles...}
similar to how you do it with CSS:
.class1 .class2 {styles...}
I could just be having a major brain fail here.

No comments:

Post a Comment