Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Thanks to Brunildo.org for this: http://www.brunildo.org/test/img_center.html
15
5359
posted 13 years ago by adambundy
overflow: hidden; will hide both vertical and horizontal scrollbars
overflow-y: hidden; will hide the vertical scrollbar
overflow-x: hidden; will hide the horizontal scrollbar
0
1124
posted 13 years ago by TheJasonParker
The idea here is that you contain the content you want to center in two divs, an outer one and an inner one. You float both divs so that their widths automatically shrink to fit your content. Next, you relatively position the outer div with it's righ...
0
1142
posted 13 years ago by cesarkohl
/* html5doctor.com Reset Stylesheet v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark */
0
1244
posted 13 years ago by lingokid
A complete lightbox with minimal code and full functionality: close button, close on escape keypress, close on lightbox blur event.
1
1017
posted 13 years ago by mortu
1. Download the zip file and unzip it
2. All the CSS and HTML code with explanation is included so all you
have to do is COPY and PASTE only.
0
964
posted 13 years ago by flanker
Simple CSS Chess Board marked up with tables and styled with CSS3 psuedo classes. Basic use of :nth-child(odd) and :nth-child(even) to achieve the alternate black and white checkboxes. Check out the CSS code - it's dead simple!
0
995
posted 13 years ago by jntu_gnec
I am having an issue making the div stay opened when it gets animated
0
980
posted 13 years ago by skeletor1101