login about faq

Due to the large amount of spam accounts, we temporarily disabled new user sign ups. To override this, email newuser.lgqa@gmail.com and an admin will determine if you are permitted to join


0
1

Hey all,

My webpage is rendering wrong in Firefox. It works fine in recent versions of IE, Safari and Chrome, just not Firefox. I need to make a separate CSS style sheet for Firefox, but I'm not sure how to do this. Can someone please explain how to do this with FireFox...

Thanks so much!

asked Jul 21 '11 at 16:45

iLovetheWeb's gravatar image

iLovetheWeb
16124


Can use @-moz-document in your CSS stylesheets.

@-moz-document {
{
body { color: purple; background: yellow; }
}
}

Full run down: http://developer.mozilla.org/en/CSS/@-moz-document

Only it targets all a Gecko based browsers, not just Firefox, like Seamonkey. Same format as media-queries.

answered Jul 21 '11 at 22:46

palhmbs's gravatar image

palhmbs
562

edited Jul 21 '11 at 22:48

Worked like a charm. Thanks!

(Jul 23 '11 at 13:54) iLovetheWeb iLovetheWeb's gravatar image

thats strange, can you give the website url?

answered Jul 21 '11 at 18:39

d4ni3e's gravatar image

d4ni3e
371101321

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported


Join Us in the Chat Room

Tags:

×351
×171
×142
×67
×60
×11
×3

Asked: Jul 21 '11 at 16:45

Seen: 6,881 times

Last updated: Jul 23 '11 at 13:54