Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ok, this is only tangentially related, but does anyone know why it's "background-repeat: no-repeat" instead of "none"? Or why it's "text-wrap: none" but "white-space: nowrap" or "white-space: pre-wrap"?


It's because you're able to define all the background styling in one line:

background: #000 url(pic.png) no-repeat;

So having background-repeat: none; would conflict with background/background-image: none;




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: