Firefox ignoring padding

Posted by iMaster on Stack Overflow See other posts from Stack Overflow or by iMaster
Published on 2010-04-29T03:00:02Z Indexed on 2010/04/29 3:07 UTC
Read the original article Hit count: 383

Filed under:
|
|

I have this CSS code:

   #tweet-container{
width: 290px; 
height: 272px; 
border: 1px solid #CCC; 
color: #CCC; 
font-size: 28px; 
text-align: center;
letter-spacing: -2px; 
min-height: 10px; 
display: table-cell; 
vertical-align: middle; 
padding: 15px;
}

But firefox doesn't seem to recognize the top and bottom padding. Safari and Chrome both show it normally, and even in Firebug when I add padding-top: it doesn't work. Its like its not a valid statement or something. Is there something I'm missing?

© Stack Overflow or respective owner

Related posts about css

Related posts about padding