View Full Version : Firefox Only Css Code...

10-31-2006, 04:14 PM
Hi all

There are syntax's to hid/show stuff so that IE can/cannot see it -
/* for normal browsers inc IE7 > child selector hides from IE6 */
body>#div {}


/* hides rule from all but IE < 7 */
* html body #div {}

But whats the code (if any) that will parse instructions to firefox ONLY.

many thanx to those who can help.

10-31-2006, 04:21 PM
Im not sure if there is a CSS code for this but there is a HTML, however it does not pass validation. you could use it to declare a link to a FF only stylesheet. The code is

<comment> Put your ff only html here </comment>

This method worked for me.