Welcome To Snipplr


Everyone's Recent Snippets Tagged style



1 57 posted 10 years ago by fris
The "Definitive CSS Font Stacks"
6 109 posted 10 years ago by ZGX
Select the first and last item in an unordered list. As an example, I add a CSS class to each. In WordPress, it's not so easy to get wp\_list\_pages() to generate these classes. jQuery provides an easy out for javascript-enabled clients.
0 103 posted 10 years ago by cyberhobo
As with screen style sheets, you use the <link> element to define the print style sheet your Web page should use: <link> The only difference between this link element and the link to your screen style sheet is the attribute: media="print" Most...
0 91 posted 10 years ago by thesmu
0 45 posted 10 years ago by jonniespratley
Fairly simple, cross-browser way to rotate text using only CSS.
0 76 posted 10 years ago by Winkyboy
Very easy to use JS Calendar Control with so many customization options.
0 75 posted 11 years ago by design2develop
Use javascript to add a class of last onto the first and the last li tags in the navigation (add to global.js). Then use css to style. For instance, if the first li is home, you can set the css to hide this link (if you want the logo to act as your h...
5 95 posted 11 years ago by kstetson
Wordpress has a built in class that you can style to style the down nav state for the page you are on. Adjust div name accordingly.
1 78 posted 11 years ago by kstetson
you can use this function for ie javascript bug. Ä°t is switchin display with javascript
0 75 posted 11 years ago by Thresh
The first part resets all the browser\\\'s default styles. The second part adds some styles back in and provides a few classes for common issues. The third part will check your page for invalid markup.
2 78 posted 11 years ago by BFTrick
Clojsure composition in Groovy (functional style programing). @http://www.ibm.com/developerworks/java/library/j-pg08235/index.html
0 80 posted 11 years ago by narkisr
2 83 posted 11 years ago by rwczippy
Useful functions to get around browser incompatibilities when working with stylesheets. If you find any errors, please leave a comment.
0 81 posted 11 years ago by wizard04
I use this in addition to the number_format (http://snipplr.com/view/5945/javascript-numberformat--ported-from-php/) snippit in SWFUpload to display the size of files a user is preparing to upload.
0 124 posted 12 years ago by inkdeep
30 425 posted 12 years ago by zingo
It's not mine...
1 65 posted 12 years ago by Victoor
2 64 posted 12 years ago by seekup00
Very simple style switcher using jquery. Takes 3 links with id's on each. When one is clicked various styles are removed, then a new one is added.
3 115 posted 12 years ago by 1man
0 58 posted 12 years ago by kristin
Wenn man eine Seite horizontal zentrieren möchte, ist das eigentlich recht einfach. Per CSS kann man mit margin:0px auto; einen div layer perfekt und schnell zentrieren. Bei älteren Browserversionen wie IE5.5 oder IE5.0 funktioniert das aber leider...
1 77 posted 13 years ago by smilylion
Very simple navigation. Style the id using CSS. Allows you to highlight the current page with CSS.
1 105 posted 13 years ago by 1man
This function looks for tables in a web page, then loops through the rows and sets the backgroundColor for ever other row.This creates a striped table which is easier to read.
2 90 posted 13 years ago by 1man
Used for rounding corners of a div. Need an upper left corner and an upper right corner. Example page is http://www.ruby-lang.org/en/documentation/quickstart/
3 79 posted 13 years ago by ryanprel
0 54 posted 13 years ago by whitetiger
Purpose: undo some of the default styling of common (X)HTML browsers. (CC) 2004 Tantek Celik.
24 568 posted 14 years ago by expertseries
This script will allow you to alternately place a style on objects (in this example, every other list item).
10 105 posted 14 years ago by neogeek