Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2006
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Firefox Only Css Code...

    Hi all

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

    or

    /* 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.

  • #2
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,517
    Thanks
    114
    Thanked 110 Times in 109 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •