ie6 problem

Discussion in 'CSS' started by pizzaman, Jul 11, 2007.

  1. #1
    i have a background image in my css
    it looks good except in ie6 which a line appears as the right border
    any idea on how to get rid of it
     
    pizzaman, Jul 11, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Without checking it, I can only guess: maybe you are using the repeat-y CSS property.
     
    ajsa52, Jul 11, 2007 IP
  3. WebGeek182

    WebGeek182 Active Member

    Messages:
    510
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    95
    #3
    Here's a tip to help in your future development, since 80-85% of internet users still use IE, design for IE first and make it look good there, then test in other browsers (instead of the reverse). Most of the time it will look right in other browsers if you have it looking right in IE. It will make your life easier.

    If your design has a problem in IE, then the design has a problem, period. I know that IE sucks, and I prefer Firefox, but we have to design for what most people have, which is still IE.
     
    WebGeek182, Jul 11, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    NO! DO NOT DESIGN FOR IE FIRST!

    Test in each browser incrementally as you go along. Get a copy of IE 6 and 7, Firefox, Opera and Safari. If you're using Windows XP, upgrade to Internet Explorer 7 (Vista comes with it by default). Then go to http://tredosoft.com/Multiple_IE and then read www.positioniseverything.net/articles/multiIE.html (and follow the instructions TO THE LETTER).

    Then go to www.getfirefox.com www.opera.com/download and www.apple.com/safari (don't install Bonjur or anything else, and always go with a custom install).

    Next, choose a proper and complete DOCTYPE. I prefer XHTML 1.0 Strict (without the XML declaration), but HTML 4.01 Strict works just as well. I also prefer not using deprecated (obsolete, and soon to be removed completely) code, so stick with a strict DOCTYPE.

    Use the bare minimum of HTML necessary to define the page's structure. As for the use of CSS, every HTML element is in essence an "object" so use your CSS to target those "objects" rather than wrapping DIVs around everything, using more classes and IDs than necessary and make sure your code validates.

    And finally, test in each browser as you go along. if you add something, check in each browser. Made a change? Check again. Also validate your code on a regular basis as well. What you'll be doing is debugging as you go along, which can save HOURS on cleaning up at the end.
     
    Dan Schulz, Jul 11, 2007 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    no ****. Dont' design for ANY browser 'first' - design for all browsers AT ONCE.

    and that is how you DO it.

    Design for IE first - that's the biggest /FAIL/ out there given that even IE7 STILL has box-model issues and is overforgiving of invalid code.

    Of course, god forbid anyone be expected to write valid HTML.
     
    deathshadow, Jul 11, 2007 IP
  6. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #6
    :D @ /FAIL/

    Jeez, you've been here like 1 week and have more posts than me :(
     
    soulscratch, Jul 11, 2007 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    He's been here longer than that. :)
     
    Dan Schulz, Jul 11, 2007 IP
  8. pizzaman

    pizzaman Active Member

    Messages:
    4,053
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    90
    #8
    thanks i figured it out
    how can i check for mac?
     
    pizzaman, Jul 11, 2007 IP
  9. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #9
    As I said earlier, go to www.apple.com/safari and download the Safari 3 beta for Windows.

    The other browsers on the Mac use the Gecko (Firefox) and Presto (Opera) rendering engines and render virtualy identically to their Windows counterparts, so you'll be good to go with a single install.
     
    Dan Schulz, Jul 11, 2007 IP
  10. pizzaman

    pizzaman Active Member

    Messages:
    4,053
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    90
    #10
    great
    thanks
    i downloaded safari
    as far as my problem it still remains
    i can do one of the two things to get rid of the space
    a-increase the size of the header to a few pixels larger than the main container div
    2-i can add a margin to the left side
    option one is not going to work since the width is 100%
    second option is to add the margin but then it will mess up the other browsers
     
    pizzaman, Jul 13, 2007 IP