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.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
  1. #1
    Senior Member duck444's Avatar
    Join Date
    Feb 2003
    Location
    east coast
    Posts
    403
    Member #
    751
    Liked
    2 times
    Does anyone know a hack for setting the width of a border in just Internet Explorer only?

    I've been struggling with the width of a border/background which appears 1-2 pixels wider in IE than in Mozzila and Opera. It's perfect in Mozilla and Opera but not quite there in IE. Thank you.

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,723
    Member #
    5580
    Liked
    718 times
    I don't know if I saw this somewhere or just dreamed it ...

    Try a border width setting of .5 (I know, it's fractional, but I somehow
    remember IE having an integer error with border values).

    some related articles:
    http://www.communitymx.com/content/a...989953B6F20B41

    Maybe this is where I saw something about this:
    http://codepunk.hardwar.org.uk/acssx15.htm


  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    I use selectors IE doesn't understand to my advantage. Look at http://www.webdesignforums.net/wdf_css/postbit.css and the postbit-avatarbg class. The margin is overridden for all browsers that support the attribute selector (effectively everything but IE) and retarded IE only sees the other definition.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Is that also one of those useful hacks that IE7 will destroy without fixing the errors the hacks were being used to get around in the first place?

  6. #5
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Probably.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  7. #6
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    Oh I think you can also do this:
    Code:
    .someclass {
    
      /* Firefox styles */
    
    }
    
    * html .someclass {
    
      /* Retarded IE styles */
    
    }
    choosy developers choose gif!
    website | paintings | blog

  8. #7
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    I know that's one of the aforementioned issues IE7 is `fixing', so that one won't work in IE7.

  9. #8
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    Quote Originally Posted by Shadowfiend
    I know that's one of the aforementioned issues IE7 is `fixing', so that one won't work in IE7.
    awww, that sucks
    i know ya'll hate myspace, but anyways, i use it on myspace sometimes if i want to make the backgrounds of all the tables semi-transparent - i use a png for Firefox and a gif for IE since IE SUCKS and doesn't display the freaking PNGs right (and I can't use the JS fix cauz you can't use JS on myspace)
    Sorry to bring up myspace, I know you hate it. I was just saying why I use the * sometimes...
    Is IE ever going to fix it's retarded PNG problem? Grrr...
    choosy developers choose gif!
    website | paintings | blog

  10. #9
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    IE7 will do transparent PNGs. It won't render the actual markup or style correctly, still, so what the hell is the point? They said they have no plans to pass the Acid2 test. Safari and even Opera does, and Firefox comes close. IE is nowhere near close.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  11. #10
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    In fact, one of the Firefox development branches actually does pass Acid2, I hear. Not that Acid2 is a holy grail of web browsing ability or anything, it's mostly PR, but IE fails it basically enough where that's more than just bad PR :-P


Page 1 of 2 1 2 LastLast

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