Skip to main content
CSS-Tricks
  • Articles
  • Alamanac
  • Guides
  • Videos
  • Books
  • Newsletter
Search

Articles

7946 Articles
{
,

}
Direct link to the article Reset all Margins & Padding

Reset all Margins & Padding

* {
margin: 0;
padding: 0;
}

This has become a very popular technique lately, and for good reason. It removes all default margin and padding for every object on the page, no holds barred, regardless of browser. This provides …

Avatar of Chris Coyier
Chris Coyier on Jul 10, 2007 (Updated on Dec 4, 2007)
Direct link to the article Contact

Contact

Shoot us a note!
Avatar of Chris Coyier
Chris Coyier on Jul 9, 2007 (Updated on Jun 28, 2024)
Direct link to the article 3 Styles for BIG Headers

3 Styles for BIG Headers

Here are some simple styles you can use when you need a BIG header.

h1.test1 {
  font-family: Georgia, sans-serif;
  font-size: 5em;
  letter-spacing: -2px;
}

h1.test2 {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 5em;
  letter-spacing: -2px;
  border-bottom: 2px solid black;
  text-transform: uppercase;
 
…
Avatar of Chris Coyier
Chris Coyier on Jul 6, 2007 (Updated on Apr 1, 2021)
Direct link to the article Header Text Image Replacement

Header Text Image Replacement

So you know that search engines like Google, Yahoo, and MSN are primarily looking at the text content of your pages to index them and determine their relevancy to searches. You also know that using header tags like <h1> in …

Avatar of Chris Coyier
Chris Coyier on Jul 4, 2007 (Updated on Jul 1, 2017)
  • Newer
  • 1
  • ...
  • 721
  • 722
  • 723

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways hosting
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Write for us!
  • Advertise with us
  • Contact us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • X
Back to Top