Clint McKoy

  • Photography
  • Music
Post

CSS: Target Firefox Only

I’ve had a few instances lately where I needed to target Firefox only in my CSS stylesheet. This is the best method I’ve found:

/* Target Firefox Only */
@-moz-document url-prefix() {
    #selector {
	margin-top: 100px;
	}

}
  • css
  • firefox
  • tutorial
  • Permalink
  • 2 Notes
  • 24th June 2011
  • RSS feedSubscribe to my posts

About Me

Howdy! My name is Clint McKoy and I'm from Columbia, SC.

I currently work with an incredibly talented team of web designers and developers at Cyberwoven.

When I'm not doing web stuff, I also enjoy songwriting, playing guitar, audio recording, photography, and chasing my two halflings, Ethan and Ada.

Thanks for stopping by!

Recent Tweets

    Follow me here!

    I Follow

    Social Links

    • Archive
    • RSS Feed
    • Twitter
    • Facebook

    Recent Photos


    Powered by tumblr
    archive • rss • mobile