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 13
  1. #1
    Senior Member Maverick's Avatar
    Join Date
    Sep 2003
    Location
    Hoboken, NJ
    Posts
    351
    Member #
    3253
    Look at the right hand side of my header in IE: http://www.poker-resource.com
    It displays fine in all other browsers.

    I know this probably has something to do with the infamous "IE width bug", but I have no idea how to fix it.

    Do you?
    www.stevenspoker.com
    "You can't lose what you don't put in the middle, ... but you can't win much either." -Mike McDermott (Rounders)

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Senior Member Maverick's Avatar
    Join Date
    Sep 2003
    Location
    Hoboken, NJ
    Posts
    351
    Member #
    3253
    Yeah thats it, I cant figure out how to use it to fix my site though
    www.stevenspoker.com
    "You can't lose what you don't put in the middle, ... but you can't win much either." -Mike McDermott (Rounders)

  5. #4
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    try this one then

    http://glish.com/css/hacks.asp
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  6. #5
    Senior Member Maverick's Avatar
    Join Date
    Sep 2003
    Location
    Hoboken, NJ
    Posts
    351
    Member #
    3253
    Thanx for the link, but still no good. The div in question does not even have padding or a margin, so I guess it can't be the notorious IE parsing bug anyway.
    Still can't understand why it would be doing that only in IE though.
    www.stevenspoker.com
    "You can't lose what you don't put in the middle, ... but you can't win much either." -Mike McDermott (Rounders)

  7. #6
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Try setting the body margins:

    topmargin="0"
    bottommargin="0"
    leftmargin="0"
    rightmargin="0"

    Else, set them via CSS.

    It looks like IE is subtracting the body margins in calculation of the div width.

    Shouldn't affect other browsers, either.

  8. #7
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    I just tried it out locally and it fixed it ;-)

    Won't be valid XHTML, but who the hell wants valid XHTML anyway? LOL

  9. #8
    Senior Member Maverick's Avatar
    Join Date
    Sep 2003
    Location
    Hoboken, NJ
    Posts
    351
    Member #
    3253
    Try setting the body margins:

    topmargin="0"
    bottommargin="0"
    leftmargin="0"
    rightmargin="0"

    Else, set them via CSS.

    It looks like IE is subtracting the body margins in calculation of the div width.
    really? I have the body set to margin: 0px in my global.css file, you actually have to set the body margins in the html itself?

    Won't be valid XHTML, but who the hell wants valid XHTML anyway? LOL
    Damn, my pages were valid xhtml too....
    www.stevenspoker.com
    "You can't lose what you don't put in the middle, ... but you can't win much either." -Mike McDermott (Rounders)

  10. #9
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    I have no problems with just setting the body margin set to 0px in my CSS properties. The problem you are having appears to be due to the lacking of the rightmargin property...
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  11. #10
    Senior Member Maverick's Avatar
    Join Date
    Sep 2003
    Location
    Hoboken, NJ
    Posts
    351
    Member #
    3253
    so u have:

    Code:
    body {
        MARGIN-RIGHT: 0px;
        }
    And that fixes it?

    EDIT: oops wait a minute, it might not be working cuz I have not been defining the margins in the id i created, #www-poker-resource-com....
    www.stevenspoker.com
    "You can't lose what you don't put in the middle, ... but you can't win much either." -Mike McDermott (Rounders)


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 06:31 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com