SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: Issue in IE6

  1. #1
    SitePoint Member
    Join Date
    Feb 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Issue in IE6

    i there. I am new to CSS. I built my first site and it works great in Chrome, Safari, IE 7/8 and Firefox. The only browser it does not work okay in is IE6. I did some research and found out that IE6 has some issues with CSS. The initial issue was that IE6 was making my boxes more narrow, resulting in one of my boxes displaying beneath and not beside the other one. I played with the CSS and fixed that and now there are only two small issues that remain:

    1) The services page bottom box and border sticks out a little: http://bengal.missouri.edu/~llotg6/7.../services.html

    2) The Index upper box and border sticks out a tiny bit, only a few pixels. I don't care as much about this one although it is annoying: http://bengal.missouri.edu/~llotg6/7...nal/index.html

    Can anyone help?
    Last edited by rustyosaurus; Feb 1, 2010 at 22:31. Reason: Trying to insert links

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,750
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    1) The problem is the double float margin bug on an element inside the #content2 div. IE6 is increasing the containers width to make sure it fits and as a result the stretching is happening. Display:inline; fixes this issue
    Code:
    .box1services{display:inline;}
    2) Double float margin again pushing it wide
    Code:
    .box2{display:inline;}
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    SitePoint Member
    Join Date
    Feb 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks SO much! It worked and it was so easy.

    If you don't mind (or anyone else), how clunky/clean does my code look?

    Thanks!

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,750
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    It looks quite nice actually . A tad bit clunkered (the CSS) but otherwise great.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  5. #5
    SitePoint Member
    Join Date
    Feb 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! I'm sure I'll get better at streamlining the code the more sites I do.

  6. #6
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,750
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Eventually you learn how to minimalize code and reduce time debugging by coding fixes for the bugs straight away . It really does save a lot of time when you open up IE6/7 on the first time and it's pixel perfect .
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  7. #7
    SitePoint Wizard silver trophy KLB's Avatar
    Join Date
    Nov 2003
    Location
    Maine USA
    Posts
    3,781
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RyanReese View Post
    It really does save a lot of time when you open up IE6/7 on the first time and it's pixel perfect .
    It saves even more time to not get pixel perfect picky with IE6 as it is a legacy browser that people shouldn't be using anyways. IE6 should get no more than a "it's good enough" treatment as long as major functionality isn't broken.
    Ken Barbalace: EnvironmentalChemistry.com (Blog, Careers)
    InternetSAR.org
    Volunteers Assist Search and Rescue via Internet
    My Firefox Theme: Classic Compact
    Based onFirefox's default theme but uses much less window space

  8. #8
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,750
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    I don't spend time trying to fix IE6 or make it pixel perfect. It's not worth it. I guess pixel perfect was a bit of an overexaggeration. It takes too long to get everything pixel perfect, however everything looking the same as in every other browser on the first time saves time .

    That's whta I meant lol, which is what you meant.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •