+ Reply to Thread
Results 1 to 9 of 9

Thread: Hide spread firefox in firefox but show in IE

  1. #1
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Hide spread firefox in firefox but show in IE

    So my issue is that my script display properly in FF but not in Ie... in Ie for somereason there is a gap near the bottom that really shouldnt exsist.

    There i want to put a spread firefox banner however then it will show in FF to.
    So I am looking for a script that will show the banner in Ie but not FF?

    Any scripts you guys know of or can come up with?

    I know i came across such a script over a year ago but cant find it now.
    Last edited by taha116; 07-09-2009 at 01:13 PM.


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  2. #2
    TechAsh's Avatar
    TechAsh is offline Retired TechAsh is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    UK
    Posts
    5,853

    Re: Hide spread firefox in firefox but show in IE

    Try this:

    HTML Code:
    <!--[if IE]>
    
    CODE GOES HERE
    
    <![endif]-->
    Code in between the tags above will only be shown for Internet Explorer browsers.
    Useful Links:
    Terms of Service | Server News | Buy a Domain
    Free Domains: co.cc | Dot.tk -- Free File Storage: Dropbox -- Website Monitoring: Service Uptime


    My Websites:
    Earthtime Games & TechAsh's Blog

  3. #3
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: Hide spread firefox in firefox but show in IE

    wow... that is simpler than i would have thought is that suposed to be html?


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  4. #4
    sourfacedcyclop's Avatar
    sourfacedcyclop is offline x10 Sophmore sourfacedcyclop is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    221

    Re: Hide spread firefox in firefox but show in IE

    Its a conditional statement. A lot of times you will see it used in the head tag to link to another stylesheet for IE to use.
    "Sanity is nothing but our interpretation of reality"

    http://tswebvisions.com - Portfolio

  5. #5
    loveispoison is offline Banned loveispoison is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    323

    Re: Hide spread firefox in firefox but show in IE

    Quote Originally Posted by TechAsh View Post
    Try this:

    HTML Code:
    <!--[if IE]>
    
    CODE GOES HERE
    
    <![endif]-->
    Code in between the tags above will only be shown for Internet Explorer browsers.
    thanks i could use this 2 didnt tought it was so simple

  6. #6
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Hide spread firefox in firefox but show in IE

    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  7. #7
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: Hide spread firefox in firefox but show in IE

    Thanks mission for the refrencs.

    And yea i know i didnt think things would be so simple when it came to that. I was thinking it would be atleast 2 lines of JS... Thanks Im sure not just me but allot of people will find your posts helpfull


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  8. #8
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Hide spread firefox in firefox but show in IE

    IE is one of the worst standard supporter, but at least they created the conditional statements (not standard!) which can help developers create code to tune up the look and workability in IE.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  9. #9
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: Hide spread firefox in firefox but show in IE

    Yeah i know, And thanks again TechAsh it worked great!

    Ie has given me endless troubles and headaches, i use firefox make a perfect site and then find out theres a major flaw in IE... Cross browser compatibility... Vital to anyone whos workin on sumthing new.
    Last edited by taha116; 07-13-2009 at 11:45 AM.


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


+ Reply to Thread

Similar Threads

  1. Is Safari better then all other browsers?
    By javajenius in forum Crossfire
    Replies: 70
    Last Post: 06-22-2009, 10:30 AM
  2. What is the best internet browser?
    By callumacrae in forum Computers & Technology
    Replies: 53
    Last Post: 04-02-2008, 06:31 AM
  3. Which Web browser???
    By bilal855 in forum Off Topic
    Replies: 47
    Last Post: 03-23-2008, 10:39 PM
  4. FireFox 1.5 Final is Out
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 12-02-2005, 11:58 AM
  5. 'Extremely Critical' Bugs Found In Firefox
    By stealth_thunder in forum Scripts & 3rd Party Apps
    Replies: 14
    Last Post: 05-15-2005, 02:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers