SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru Ize's Avatar
    Join Date
    Nov 2005
    Location
    The Netherlands
    Posts
    808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE6 width calculation

    Hi,

    I'm working on a website where IE6 for some reason does not scale the container-div.

    Firefox and IE7 allow the container to scale down so it fits nicely in a 800*600 screen, but in IE6, it always overflows the screen.
    I'm not sure why, because there isn't a width specified anywhere (only a max-width for compliant browsers).

    The HTML can be found here: http://www.whatstyle.net/bla/aproxis/
    The CSS resides here: http://www.whatstyle.net/bla/aproxis...en/aproxis.css
    With some IE6 specific style rules here:
    http://www.whatstyle.net/bla/aproxis/css/screen/ie6.css

    Any help would be greatly appreciated!!

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem is being caused by the width of header.jpg which is set in the HTML at 1024.

  3. #3
    SitePoint Guru Ize's Avatar
    Join Date
    Nov 2005
    Location
    The Netherlands
    Posts
    808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Tyssen
    The problem is being caused by the width of header.jpg which is set in the HTML at 1024.
    Removing this set width doesn't solve the problem in IE6...

  4. #4
    SitePoint Guru Rob_D's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's still 1024px long though. Try setting it as background image for header_content.

  5. #5
    SitePoint Guru Ize's Avatar
    Join Date
    Nov 2005
    Location
    The Netherlands
    Posts
    808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rob_D
    It's still 1024px long though. Try setting it as background image for header_content.
    Yeah, I was afraid that was going to be the solution.
    That image is going to be dynamic, the client can edit it through a CMS.

    Well, then I just have to work with inline styles.

    Thanks for your feedback


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
  •