simple css facts

div.A                           tag=div, class=”A”
div#A {set up a}       tag=div, id=”A”, only has effect a
div#A {set up b}      tag=div, id=”A”, now it has  both effects a and b if they donnot confilicts

#error-display li {

set up style xx

}  // any <li> element within the error-display will use style xx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s