Welcome To Snipplr
Everyone's Recent Snippets Tagged style
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
Unlike linked style sheets, it is necessary to enclose CSS in Headers in a "style type".
This example media query is for screens under 1024 (tablets and phones) to make sure the images do not extend beyond the layout.
        
        
        
            0 
        
        
            1693 
        
                    posted 10 years ago by jefferis
            Add a css file to style the visual editor to resemble the theme style.
        
        
        
            1 
        
        
            2426 
        
                    posted 11 years ago by razvanstavila
            Dynamic equal height columns that account for padding and borders.
        
        
        
            1 
        
        
            2439 
        
                    posted 11 years ago by o0110o
            This is the calling one (probably more useful if the clickable text is words, as the iPhone auto-detects phone numbers and does this automatically)
This is the SMS one, which overrides the default calling behavior (ex : <a href="http://giocaregratis...
        
        
        
            0 
        
        
            2496 
        
                    posted 12 years ago by haydin
            CSS stylesheet template - including HTML5 reset, tweaks for mobile including media queries, print reset styles, and base styles for standardization
        
        
        
            7 
        
        
            2878 
        
                    posted 12 years ago by rickygri
            This javascript will create a complex google javascript map with multiple locations selected marked. The map will be centered in the middle and zoomed so that all point can be seen. It also stylizes the map making it mostly desaturated with bits of o...
        
        
        
            0 
        
        
            2796 
        
                    posted 13 years ago by FatFolderDesigner
            Simple solution found via link. Just edit code from demo page(s). Also http://uniformjs.com/
        
        
        
            0 
        
        
            1429 
        
                    posted 13 years ago by rumremix
            Description: A function that add a class to an element if the element doesn't have anyone, if it already has one, add a new class name.
Arguments: The elemento to which you want to add the class and the name of the class you want to add.
From boo...
        
        
        
            0 
        
        
            2218 
        
                    posted 14 years ago by alberomo
            We use lists for all sorts of things, especiall navigation elements for which bullets don't make sense. Often, it is most convenient to remove bullet/list styles from all list elements globally. In fact many css resets do just that. However, there ma...
        
        
        
            0 
        
        
            2368 
        
                    posted 14 years ago by rumremix
            This is the quickest way to style the search bar. It involves creating one single image that includes both the input area and search button.
        
        
        
            0 
        
        
            1450 
        
                    posted 14 years ago by rumremix
            The css style's in the <style></style> tags are important for this snippet to work.
        
        
        
            1 
        
        
            1516 
        
                    posted 14 years ago by bobbym245
            Not sure what I\'d ever use this for as it doesn\'t exactly lend itself to flexibility in the long term, but saving it anyway.
        
        
        
            0 
        
        
            2380 
        
                    posted 15 years ago by stephcode
            
            CSS
        
            CSS - CSS3 Safari style toolbar buttons rounded box shadow pressed border radius for Moz, Firefox, KHTML  
        
                    
        
        
        
            1 
        
        
            1514 
        
                    posted 15 years ago by brandonjp
            
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 
        
        
            2424 
        
                    posted 15 years ago by karlhorky
            Starter barebones stylesheet that fixes many common browser differences and styles all common HTML elements. - Will be updated.
        
        
        
            3 
        
        
            2700 
        
                    posted 15 years ago by vagrantradio
            This parameter determines the image address which serves as a list marker. This attribute is inherited; therefore value none is used for separate elements of the list for marker restoration.
Syntax
list-style-image: none | url (a path to a file...
        
        
        
            0 
        
        
            2315 
        
                    posted 15 years ago by Masis
            NOTE: THIS HAS BEEN MOVED TO GITHUB:
If you have any ideas or improvements for this script feel free to fork or contribute or discuss over there:
https://github.com/adamcoulombe/jquery.customSelect
Plugin Download: http://www.adamcoulombe.info...
        
        
        
            2 
        
        
            2231 
        
                    posted 15 years ago by adamcoulombe
            This line of code will remove the border of an ActionScript 2 TextArea component.
        
        
        
            0 
        
        
            1495 
        
                    posted 15 years ago by adrianparr
            This script is for generating plots with many curves, where each curve has its own marker, color, and line style. Please see my blog post for more explanations and leave comments there.
        
        
        
            0 
        
        
            3720 
        
                    posted 16 years ago by benjamin