Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-31-2006, 03:14 PM   PM User | #1
bunsco
New Coder

 
Join Date: Jan 2006
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
bunsco is an unknown quantity at this point
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.
bunsco is offline   Reply With Quote
Old 10-31-2006, 03:21 PM   PM User | #2
timgolding
Senior Coder

 
timgolding's Avatar
 
Join Date: Aug 2006
Location: Southampton
Posts: 1,460
Thanks: 89
Thanked 110 Times in 109 Posts
timgolding is on a distinguished road
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.
timgolding is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:54 AM.


Advertisement
Log in to turn off these ads.