Hi, I am having trouble figuring out why I cannot put the drop shadow container within the page container. I think I am mixing up the CSS ID and class concepts. Following is the link. Check the page source for CSS and HTML code. Thanks in advance. http://www.owace.com/test/ (Test in IE)
ID vs. CLASS There are several rules that you should consider when using either attribute. Will the selector be used more than once within a document? Do the selectors need to be combined? Does the specificity matter? If the answer to question number one or two is yes, then you need to use a class. Classes can be used more than once in a document whereas id’s cannot. A neat little CSS trick is that you can combine classes, for example: <div class="news highlight">CSS is the best!</div> Lastly, id’s have a higher specificity than classes, which means that the styles for the id element will be given priority over the styles for a class. You can also use both a class and id on a single element in order to gain greater control over the element.