Welcome To Snipplr
Everyone's Recent CSS Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Consolidate all your various stylesheets into one and cut down on requests to your server by placing your screen, print & handheld stylesheets into one stylesheet
1
921
posted 17 years ago by neal_grosskopf
Makes the form field background yellow and the border red when it is the active field. Works in most browsers except the usual lame ones (IE5.5 & 6).
1
832
posted 17 years ago by will
Change selection color using CSS. Works in most modern browsers except for IE.
3
1107
posted 17 years ago by neal_grosskopf
Style External, PDF, and Mailto links using CSS and a background image. For a great set of icons to choose from visit http://www.famfamfam.com/lab/icons/silk/.
3
1378
posted 17 years ago by neal_grosskopf
Find depreciated elements and attributes using CSS . Simply add the CSS below to the end of your style sheet and it will highlight bad code.
5
1121
posted 17 years ago by neal_grosskopf
I can't remember if this code is updated for IE7, if it is then it should be working in at least IE6-7, Safari 2-3, Opera 8 and Firefox 2-3.
Obviously the image_iefix is just for IE6.
2
872
posted 17 years ago by teddyzetterlund
for the filter value I'm not quiet shure. advice is welcome!
8
893
posted 17 years ago by Wiederkehr
Full reziseable Boxmodel, nice for effectfull glow or shadow PNGs.
Resize browserside fontsize for the testpage (see URL).
9
1155
posted 17 years ago by Malte
A very annoying 'bug' can occur when you are applying a top margin to an element inside a container. The inner elements margin seems to "leak" out of the top of the container. This pushes the container down, and looks very messy if you have a backgro...
4
1026
posted 17 years ago by 1man
This is the CSS stylesheet I currently start every website that avoids some of the common browser bugs experienced when developing for multiple browsers.
3
1006
posted 17 years ago by thesambarnes
This code is based on enlaces de paginacin posted by Web Design
2
862
posted 17 years ago by shellydennison
Also see the automagic column builder on this page.
YOU NEED THIS FILE TOO! Place it in the subfolder, "css/".
http://snipurl.com/3col_support_css
4
1184
posted 17 years ago by Winkyboy
Set different values for an element based on browser (specifically, how the browser interprets the CSS). Definitions must be in order as shown below because newer definitions override existing.
The first setting will apply to all browsers.
The...
3
1195
posted 17 years ago by Winkyboy
A better more accessible method to make buttons appear to be disabled upon click via css (with no javascript) Doesn't work in IE but does in other browsers.
3
1114
posted 17 years ago by neal_grosskopf
Change the color and background color of selected text using only css. Compatible with Firefox and Safari, but not Internet Explorer
4
1227
posted 17 years ago by neal_grosskopf
Style external, email, and pdf links using css3 attribute selectors.
11
1118
posted 17 years ago by neal_grosskopf
Si miramos al horizonte empieza a deslumbrar el futuro del CSS, con la salida de CSS3 la vida de los diseñadores web va a mejorar considerablemente y no es para menos, por que con las mejoras que se están acercando ¿quien no se aprovechará de ell...
4
985
posted 17 years ago by j_junyent