2 replies [Last post]
GoogDesigns
GoogDesigns's picture
Offline
Regular
St. Louis
Last seen: 12 years 5 weeks ago
St. Louis
Joined: 2007-06-24
Posts: 20
Points: 0

#supportingText { width:430px; font:normal 11px/16px "Lucida Grande","Lucida Sans","Lucida Sans Unicode",Lucida,Arial,Helvetica,sans-serif; color:#a1a07b; margin:55px 0 0 59px; padding-bottom:26px !important; padding-bottom:0; text-align:justify; }

In this code why did she choose to mark the padding-bottom as !important, and then repeat it as a different value.

Thanks

IChao
Offline
Enthusiast
Göttingen, Germany
Last seen: 10 years 40 weeks ago
Göttingen, Germany
Timezone: GMT+2
Joined: 2005-08-16
Posts: 148
Points: 0

It's a filter.

It's a filter.

In IE<7, the !important" declaration fails to take precedence over a normal declaration within the same ruleset. So IE<7 happily applies padding-bottom:0; in this case.

GoogDesigns
GoogDesigns's picture
Offline
Regular
St. Louis
Last seen: 12 years 5 weeks ago
St. Louis
Joined: 2007-06-24
Posts: 20
Points: 0

i see..thank you

i see..thank you