CSS-Tricks

A Web Design Community
Making
Websites
Better
Since 2007
  • Articles The blog
  • Forums Get & give help
  • Snippets Clip and save
  • Videos Watch and learn
  • Almanac Reference guide
  • Gallery Ooooh Aaaah
  • Downloads Just a seed
  • Deals Save bucks
What do you want to learn today?
Treehouse is the best place to learn web design, web development, and iOS.

A little dab'll do ya

Code Snippets

Submit one!
Home » Code Snippets » HTML
  • Add Body Class Just For IE
  • Add Spaces to Dock in OS X
  • Basic Microformatted hCard
  • Button With Line Breaks
  • Comments in HTML
  • Cufon 101
  • Embedding Flash
  • Embedding Quicktime
  • Embedding Windows Media
  • Empty Table Markup
  • Example Form Markup
  • Form Submission Opens New Tab/Window
  • Get Directions Form (Google Maps)
  • Get Rid of White Flash when iframe Loads
  • Glyphs
  • HTML5 Article Structure with hNews
  • HTML5 Page Structure
  • iPhone Calling and Texting Links
  • Keep Flash Behind Other Elements
  • Left & Right Halves Layout
  • Lorem Ipsum Paragraph
  • Mailto Links
  • Make IE 6 Crash
  • Meta Refresh
  • Meta Tag For Forcing IE 8 to Behave Like IE 7
  • Multiple File Input
  • Open Link in a New Window
  • Proper Tags for Displaying Content Edits
  • Serving Up Universal IE 6 Stylesheet
  • Set iPhone Bookmark Icon
  • Standard List Navigation
  • Stop IE Page Load Flicker
  • Test Page
  • The Common DOCTYPES
  • Tooltips for Acronyms
  • Top & Bottom Halves Layout
  • Turn Off Autocomplete for Input
  • Use Firebug in Any Browser
  • View Source of RSS Feed in Firefox
  • XHTML 1.0 STRICT Page Structure
Or... Browse Archives

Training

CSS-Tricks is brought to you in part by Treehouse. If you want to improve your skills as a web worker, you should be on Treehouse. I can't recommend it enough.

Just some of what you can learn: Accessibility, HTML5, CSS3, Design, JavaScript, jQuery, Responsive Web Design, UX, Version Control, WordPress, and iOS.

Subscribe!

  • RSS Feed
  • Email Subscription
  • iTunes Large
  • iTunes Mobile
  • Snippets Feed
  • Forums Feed
  • Screencast Large
  • Screencast Mobile
more options

What's Awesome?

  • jQuery AnythingSlider
  • Full Page Background Images
  • CSS3 Button Maker
  • The CSS Box Model
  • jQuery Circulate Plugin
  • The Printliminator
  • HSLa Explorer

Level-Based Learning

  • Beginner Foundations
  • Intermediate Ideas
  • Advanced Concepts

Services I Like

  • Fonts by Typekit
  • Hosting by Media Temple
  • CDN by NetDNA
  • Monitoring by Are My Sites Up?

Poll

What do you think is reasonable page size to try and stay under for a modern web design?

View Results

Loading ... Loading ...
Deals for Designers
DigWP

A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.

Quotes on Design

Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.

HTML-Ipsum

One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.

Bookshelf

Hey Chris, what books do you recommend? These, young fertile mind, these.

  • ©2007-2011 CSS-Tricks / Chris Coyier
  • Any downloadable example or tutorial you find on this site you are free to use for whatever you want, with or without attribution. *This website may or may not contain any CSS or Tricks.
  • Contact
  • Smashing Network
  • ChrisCoyier.net
  • Lynda.com
  • Wufoo
  • GitHub
  • Google+
  • Dribbble
  • Forrst
  • @chriscoyier
  • @real_CSS_Tricks
  • YouTube
  • Facebook