Welcome To Snipplr
Everyone's Recent CSS Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
882
posted 15 years ago by kstetson
You can turn off Safari and Opera’s blue outline focus style using:
0
718
posted 15 years ago by fabi
Change Text Highlight Color |
Prevent Firefox Scrollbar Jump |
Print Page Breaks |
Attribute-Specific Icons |
CSS Pointer Cursors |
Prevent Safari Resizeable Text areas
2
631
posted 15 years ago by benjaminpearson
Finally got round going through a sliding door example myself. All fairly straightforward apart from a few IE6 issues (who would have guessed!).
The button is floated so you may need to add overflow: hidden to it's container.
1
981
posted 15 years ago by 1man
Excellent article on using a CSS Template layout system that makes customizing web pages a step easier.
3
877
posted 15 years ago by donjuanito909
Useful little spippet for a button anchor where the text may change.
0
1049
posted 15 years ago by 1man
When you hover over the “message†div, the “controls†div inside it will appear, along with all of its content, giving you the same functionality as used by the Twitter web app.
There may be an issue with accessibility because screen reade...
0
770
posted 15 years ago by justinseiter
This method maintains its integrity with all combinations of images on/off and CSS on/off.
This method works by laying an empty span over the top of the parent element with the required image applied as a background to that span.
There is howev...
4
1222
posted 15 years ago by justinseiter
This sticky footer solution is working in all major browsers, including Google Chrome! It works with floated 2-column layouts and we don't get overlap in re-sized browser windows unlike older solutions you find when you Google sticky footer. And you...
8
876
posted 15 years ago by justinseiter
For instances where you have an empty div that is less than about 10-15px in height. IE assumes it should contain something and allots room for text.
I first found this on the webdeveloper.com forums.
The kicker here for me was the "font-size:0"...
2
940
posted 15 years ago by charmcitycoder
margin-top è la meta dell'altezza / margin-left è la metà della larghezza
0
661
posted 15 years ago by BoNzO
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
853
posted 15 years ago by BFTrick
<table>
<tr>
<td>Head</td>
</tr>
<tr>
<td>Subhead</td>
</tr>
<tr>
<td>text</td>
</tr>
</table>
0
721
posted 15 years ago by hotdiggity
Learn how to create drop caps using CSS and no extra HTML markup in this short tutorial.
1
990
posted 15 years ago by neal_grosskopf
<h2>POSH => HTML semántico</h2>
http://aprendiendoweb.com/2008/08/posh-html-semantico
<ol>
<li>Debe ser HTML válido</li>
<li>No se deben usar elementos de presentación como <b> o <i></li>
<li>Todos los estilos deben darse usando C...
2
565
posted 15 years ago by demixo
This is a CSS reset snippet for the default (yui-navset-top) style of YUI TabView 2.7.0. This snippet enables rapid TabView prototyping and makes it easy to overwrite the default style while still serving the main CSS from Yahoo!'s servers.
Note:...
0
838
posted 15 years ago by jlizarraga