applying padding after using css reset
Posted
by iHeartDucks
on Stack Overflow
See other posts from Stack Overflow
or by iHeartDucks
Published on 2010-06-02T20:53:02Z
Indexed on
2010/06/02
20:54 UTC
Read the original article
Hit count: 357
css
As it turns out I don't know CSS.
I ran into a brick wall after using Eric Meyer's CSS reset (http://meyerweb.com/eric/tools/css/reset/)
I have a table with this style
table.home_right_top, .home_right_top table, .home_right_top
{
background-color: #F2F2F2;
width: 100%;
padding: 10px 20px 15px 20px;
}
but the padding is not applied to the table at all and I cannot figure out why. I am happy that I see the same behavior on all the browsers including IE7 and IE8 but I don't see any padding. Can someone please tell me what I am doing wrong here?
Thanks.
© Stack Overflow or respective owner