Welcome To Snipplr
Everyone's Recent CSS Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Content may disappear on window resize in IE6/Maxthon, when using expressions to set min-width/max-width. To fix it - just remove 'position:relative' in #container.
0
589
posted 16 years ago by DesTincT
Browser Support: IE5.5, IE6, IE7, Firefox 1-3, Mozilla, Opera 8-9.5, Safari(Win,Mac), Knoqueror(Linux).
Use: Any Tag.
5
1434
posted 16 years ago by Ashung
This rule lets you define CSS rules that are visible to IE only.
0
891
posted 16 years ago by Uzbekjon
“min-height†attribute works well in Firefox but IE ignores it. IE’s height act as FF’s min-height. Note: in IE 7 problem was fixed.
0
847
posted 16 years ago by Uzbekjon
It’s an Internet Explorer-exclusive bug wherein an element that is floated – and given a margin in the same direction as the float – ends up with twice the specified margin size. The fix is extremely simple. All you have to do is apply a displa...
2
905
posted 16 years ago by Uzbekjon
This handy trick works in IE5.5/Win and newer. It assumes that the default printer orientation is portrait.
1
1066
posted 16 years ago by localhorst
CSS Diagnostics allows web designers and developers to highlight invalid HTML using CSS selectors. Say goodbye to the font tag by highlighting it in a large obnoxious border. It also has the ability to highlight 404 pages, old CSS classes and old Jav...
7
1734
posted 16 years ago by neal_grosskopf
https://www.chrisjmendez.com/2008/06/11/how-to-use-ems-when-youre-already-comfortable-with-pixels/
2
807
posted 16 years ago by chrisaiv
Using CSS3 selectors, highlight links to deleted pages and 404 pages. Also highlight function calls to deleted javascript using this CSS technique.
4
997
posted 16 years ago by neal_grosskopf
Find deprecated elements and attributes using CSS. Simply add the CSS below to the end of your style sheet and it will highlight bad code.
5
860
posted 16 years ago by visuallyspun
Bugfix/Lösungsvorschlag:
Es ist offensichtlich, dass die Zelle mit der ID cell3467 und dem definierten "margin-right: 3.09%" falsch berechnet wird - nämlich mit realen 16 Pixeln anstatt 8 - und auf den obersten Basis-Wert der "DIV width" zurück...
1
864
posted 16 years ago by bassdas
Toolbox CSS is styling information that has nothing uniquely to do with any particular website. These are a collection of common styles that can be useful on any web project. How many times have you written a class for clearing a float? Too many, is...
18
5355
posted 16 years ago by visuallyspun
IE 5.5 to 6 don't support generic PNG with Alpha-Channel
To get the advantage of PNGs use the akward AlphaImageLoader-filter (AIL) as described on the msdn site ( http://msdn.microsoft.com/en-us/library/ms532969(VS.85).aspx ).
But because the AIL...
3
978
posted 16 years ago by HerrSerker
In FF the page will "jump around" when moving from page to page due to the scrollbars. Find out how to make that stop.
2
1054
posted 16 years ago by neal_grosskopf