I have a div but it fits to the borders of the container instead of wrapping around the text. I tried float:left but it will push it to the side and there's no way to make it go to the center. Help?
Code:
div.warning-stripe {
padding:2px;
border:1px solid #FFA11B;
background-color: #FFC71B;
vertical-align:middle;
color:835600;
margin-left:auto;
margin-right:auto;
text-align:center;
}
Check your color: tag too...it's missing the #, which would make that declaration invalid.
– bpeterson76 Aug 20 '10 at 19:03