Tag Archives: css hack

CSS hack for Firefox only

Comments (11)

I have been in a few situations (very few) where I want a page to look different in Firefox. Here’s a little snippet of how you could code it. Please note that this CSS will not validate but will work perfectly fine.

/*”className” is your class or ID*/
/*FireFox 2 */
.className, x:-moz-any-link {font-weight:bold;}

/*FireFox 3*/
.className, x:-moz-any-link, x:default […]

vpn service