Found this is some example CSS I was reading and I'm having a hard time determining why there are two position rules in one selector.
#Div
{
position:fixed !important;
position:absolute;
}
What does this accomplish? Isn't the !important
element always going to override the position: absolute
?
All browsers that support position:fixed
will use it, the others fall back to absolute
.
position: absolute
while other browsers apply position: fixed
- BoltClock 2012-04-05 03:07
fixed
support), the other being that it ignores important declarations in the same rule and always applies the last one - BoltClock 2012-04-05 03:08