Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Senior Member -chris-'s Avatar
    Join Date
    Apr 2006
    Location
    SK
    Posts
    1,205
    Member #
    13102
    http://www.veritaswebdesign.com/test/

    There is the link. I need the light blue stripe to be raised 2px in Firefox ONLY. I have a separate style sheet already for IE, so it looks ok there. Opera is spot on. Is there a way to hack this CSS for Firefox?

    The div I want moved is <div id="listmenu" class="style4">
    Portfolio | Blog | Twitter

    Was my post, or someone elses, helpful? Click the thumbs up to let everyone know!

  2.  

  3. #2
    Junior Member
    Join Date
    Jul 2007
    Posts
    1
    Member #
    15512
    Well I don't know if it is possible to have a style only show up in Firefox and not IE or Opera, but you could do something like this:

    State your Firefox style first:

    <style type="text/css">
    div.style4{
    background-color: #000000;
    }
    </style>

    <!--[if IE]>
    <style type="text/css">
    div.style4{
    background-color: #FFFFFF;
    }
    </style>
    <![endif]-->
    This would effectively show a black background in Firefox and a white background in any version of IE.

    *NOTE: You have to apply your Firefox style first, otherwise you will set the color to white in IE and then set it to black again.

  4. #3
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Hmm... Only for Firefox... That's a difficult one. I don't know of a way. Might be a better plan to see if you can make it work identically in Opera and Firefox.

  5. #4
    Senior Member -chris-'s Avatar
    Join Date
    Apr 2006
    Location
    SK
    Posts
    1,205
    Member #
    13102
    Kinda figured as much. Thanks anyway.
    Portfolio | Blog | Twitter

    Was my post, or someone elses, helpful? Click the thumbs up to let everyone know!

  6. #5
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    You know what's funny? About two minutes ago I ran into a situation where I need the exact same thing: a button that needs to be nudged down 2px.

  7. #6
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    Now it looks way different in IE6.0 than FF.

    Looks good in FF, but in IE, the menu "blue" bar is much taller than the
    background "blue bar".


  8. #7
    Senior Member -chris-'s Avatar
    Join Date
    Apr 2006
    Location
    SK
    Posts
    1,205
    Member #
    13102
    I only have IE7, so I haven't seen it in IE6, but this has taken a backseat to current projects.
    Portfolio | Blog | Twitter

    Was my post, or someone elses, helpful? Click the thumbs up to let everyone know!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:56 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com