{
position: absolute;
}
for example, if I have two divs. Do I need to place absolute
positioning in front of the divs or after?
Also, is it necessary to insert "*" in front of css positioning?
HTML:
<div class="superbowl">...</div>
<div class="superbowl">...</div>
CSS:
.superbowl
{
position: absolute;
}
If they use id's instead, you can still style both of them using the
same rule in CSS:
HTML:
<div id="colts">...</div>
<div id="saints">...</div>
CSS:
#colts, #saints
{
position: absolute
}
Does that help? Also, be sure to check out the complete sample code
from lab: http://groups.google.com/group/educ-176-programming-lab/web/lab2-complete.zip
As for your second question, no, you do not need a "*" rule at the top
of your CSS document. In lab, we encouraged that you used one to reset
the margin and padding properties of all HTML elements, but it is not
a requirement.
Troy