DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Box Hack

11.27.2006
| 1158 views |
  • submit to reddit
        A simple CSS box hack

div
{
  border: 10px solid;
  padding: 10px;
  width: 140px; 
  width/* */:/**/100px; 
  width: /**/100px;
}
    

Comments

Snippets Manager replied on Mon, 2006/11/27 - 11:49pm

How about that?