Welcome To Snipplr


Everyone's Recent Snippets Tagged css



1 ... 25 26 27 28 29 ... 42
This CSS trick lets you highlight the input field currently in focus. This trick does not work in IE though.
0 263 posted 12 years ago by paulgrenwood
This piece of CSS code will highlight links that open in a new window so that user knows before hand that link will pop open in a new tab or window.
0 395 posted 12 years ago by paulgrenwood
1 300 posted 12 years ago by paulgrenwood
I needed today to format the content differently according to the screen resolution of the user. So I thought that just by detecting the screen width using the screen.width property, I could change the stylesheet using jQuery. And so it was. Check th...
0 306 posted 12 years ago by paulgrenwood
1 399 posted 12 years ago by paulgrenwood
Though CSS3 standard includes the opacity property, but not every browser supports it, here’s the CSS trick for cross browser transparency.
2 300 posted 12 years ago by paulgrenwood
Internet Explorer does not understand the min-height property but here’s the CSS trick to accomplish that in IE.
2 274 posted 12 years ago by paulgrenwood
0 265 posted 12 years ago by paulgrenwood
CSS Attribute selectors are very powerful giving you many options to control styles of different elements e.g. you can add an icon based on the href attribute of the a tag to let the user know whether link points to an image, pdf, doc file etc.
0 212 posted 12 years ago by paulgrenwood
Accomplish min-width in IE6 using CSS and conditional comments, no need for expressions.
4 451 posted 12 years ago by Ahrjay
In IE6 the padding applied to input boxes can be incorrectly rendered showing no difference in the height of the box. Adding "overflow:visible" seems to fix it. Referenced Source: http://stackoverflow.com/questions/561904/can-you-tweak-the-left-an...
1 314 posted 12 years ago by benjaminpearson
Originally by Paul Irish
3 358 posted 12 years ago by bbeaudreault
To make the menu work in IE6 (which doesn't support the :hover pseudo element on anything but links and tables), the IE6-specific CSS calls on [Whatever:hover][whatever]. If using [Dean Edwards' IE7-js][IE7-js], this is unnecessary as his script fixe...
4 401 posted 12 years ago by chrisdpratt
2 353 posted 12 years ago by KF
Attaching multiple stylesheets
0 230 posted 12 years ago by StevieJ
Puts a red border around anything with an inline style. Prefix with "javascript:" and paste into the address bar to run on a page directly, or run with a load event.
1 305 posted 12 years ago by DaveChild
A jQuery plugin that will add a 'new' icon next to files that are newer than X amount of days.
1 450 posted 12 years ago by neal_grosskopf
Code explains itself. I plan to do a lot more work on it - just wanted to throw it up here for a little sharing. Feel free to take it to the next level.
1 300 posted 12 years ago by brettbergeron
2 322 posted 12 years ago by PeteW
2 319 posted 12 years ago by PeteW
2 421 posted 12 years ago by PeteW
2 407 posted 12 years ago by PeteW
Nice clean, and semantically correct breadcrumb XHTML accompanied by the CSS. Create a transparent GIF of the symbol '>' and save it in /img/gt.gif. This will be used for older browsers that don't support the :after pseudo element.
4 367 posted 12 years ago by PeteW
<p>Cross-browser compatible especially for IE6/7 and makes use of CSS sprites for faster downloading. Download file <a href="http://johnimbong.com/blog/wp-content/uploads/2009/09/curves.zip">curves.zip (75 bytes)</a> which contains the CSS sprite nee...
1 269 posted 12 years ago by enchance
Ever needed to use to background images in a table or div? It is possible b just using css. Although this is yet to be a standard safari will allow you to apply 2! Css backgrounds, however IE, FIRFOX and retro opera users will only see 1 !
1 395 posted 12 years ago by scopefragger
1 ... 25 26 27 28 29 ... 42