-@-moz-document
I found a new CSS trick yesterday. If you have a block of CSS that messes up other browsers but Mozilla browsers stick it it a @-moz-document block, like:
CSS for every browser here
@-moz-document url-prefix()
{
Mozilla only CSS here
}
It would be really cool if every browser had some sort of @ rule to parse out browser specific code like this rather then using tricks.
No Comments »
No comments yet.
RSS feed for comments on this post.
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>