Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



1 ... 16 17 18 19 20 ... 28
3 627 posted 14 years ago by cesgra
In IE6 and IE7 when wrapping an anchor to the next line, the first anchor with the class="anchorClass" will not display the background image nor have the clickable padded area. In your IE6 & IE7 bugfixes CSS adding the property/value display:inlin...
0 854 posted 14 years ago by Rogier
1 923 posted 14 years ago by jmacgr
0 493 posted 14 years ago by jonahlyn
1 598 posted 14 years ago by AzizLight
0 514 posted 14 years ago by sspitler01
I needed a way to replace the default myspace headings with pictures. It was easy enough to just superimpose jpg's over most of these with a {position:relative;} tag but the gigschedule proved a little harder as the distance between the top of th...
0 599 posted 14 years ago by thedavidmeister
This is handy for cleaning up your HTML to use more plain text and fewer img tags. Whether this is SEO friendly or not is subjective. I tend to think it's fine as long as you don't use it for spam. Digg implements a similar method for their main logo...
1 886 posted 14 years ago by adamcoulombe
1 604 posted 14 years ago by margot620
0 615 posted 14 years ago by lexx
2 624 posted 14 years ago by quickredfox
How to generate rounded corners in Firefox and Safari before CSS3 is fully implemented.
3 567 posted 14 years ago by ff1959
1 498 posted 14 years ago by paulgrenwood
Some browsers like Firefox and IE add a dotted outline border over the link user clicked. It is a useful accessibility feature that lets user know which link he clicked or is in focus. But sometimes you need to get rid of this, here’s the CSS you n...
0 564 posted 14 years ago by paulgrenwood
While most of the internet users prefer to read content online but some of your users might like to print your article. With CSS you can control the page breaks within content just add this CSS class to your stylesheet and add this class to any tag w...
1 635 posted 14 years ago by paulgrenwood
This is a very tall order, and we are going to be pulling out all kinds of different stuff to make it happen. First of all, because the image needs to scale, a traditional CSS background-image is already disqualified. That leaves us with an inline im...
3 626 posted 14 years ago by paulgrenwood
This CSS trick lets you highlight the input field currently in focus. This trick does not work in IE though.
0 502 posted 14 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 728 posted 14 years ago by paulgrenwood
1 547 posted 14 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 581 posted 14 years ago by paulgrenwood
1 767 posted 14 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 569 posted 14 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 551 posted 14 years ago by paulgrenwood
0 494 posted 14 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 406 posted 14 years ago by paulgrenwood
Accomplish min-width in IE6 using CSS and conditional comments, no need for expressions.
4 788 posted 14 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 640 posted 14 years ago by benjaminpearson
1 ... 16 17 18 19 20 ... 28