Once the above priorities are determined, the next level of priorities are at the page level. We will look at what are selectors shortly. Imported style sheets and internal style sheets carry the same weight but since per specs the import tags comes before declaring any styles the internal styles will take precedence.Īlso when styles are defined using a #id selector it will carry the same weight as inline styles. Lets say if two rules end up with same weight, then the latter wins.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |