Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Paste the code in a file named style.php. Don’t forget to include your css files . Once done, open your HTML document and import style.php as you’ll import a css stylesheet.
3
880
posted 14 years ago by math89
In the example .description is a label and so needs to be made a block level element. For <p> elements (etc) this is not needed.
The key to all this is overflow:hidden.
0
813
posted 14 years ago by Meander365
CSS
CSS - CSS3 Safari style toolbar buttons rounded box shadow pressed border radius for Moz, Firefox, KHTML
1
1047
posted 14 years ago by brandonjp
Zurb didn't post the full code, but they made a short post tutorial and it appears to be open source. I found the code here and fixed a border problem, and I also cleaned it up so it's easier to read.<ul><li>Sizes: small, medium, large</li>...
0
734
posted 14 years ago by illegal3alien
Found this online somewhere. It\'s now the starting point for all my CSS font layouts
0
610
posted 14 years ago by reynish
Add the last three lines to fix text-indent in IE7. Alternatively, you can also add text-transform:capitalize.
0
698
posted 14 years ago by vagrantradio
When developing a website, an important consideration is accessibility on other media, including the medium of print. However, the printing engines of most browsers render content differently to allow for simple printed pages. One of the most notable...
1
969
posted 14 years ago by karlhorky
The foundational CSS Fonts provides cross-browser typographical normalization and control while still allowing users to choose and adjust their font size.
0
727
posted 14 years ago by jonkemp
The foundational CSS Reset removes the inconsistent styling of HTML elements provided by browsers. This creates a dependably flat foundation to built upon.
3
790
posted 14 years ago by jonkemp
Start your CSS files with the following PHP (and name it style.php)
include it with: <link>
0
741
posted 14 years ago by yves