Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is this the inline box IE bug I've heard so much about?

    Hi there...

    Simply enough, I'd like to get my column widths (for the "menu" and "content" div's) appearing in IE5+ as they do in Firefox.

    URL: http://www.cbaa.org.au/3cfor_web/ejournal_header.html
    CSS:http://www.cbaa.org.au/3cfor_web/layout2.css

    I've tried this technique: http://glish.com/css/hacks.asp but I'm not sure what I'm doing wrong.

    Any help greatly appreciated.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    okay try using this for ur css there are still some parsing errors but i dont think there are any IE hacks left, and the site looks pretty much the same in FF and IE, u will have to adjust the width of ur header image to 750

  • #3
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    If you're using the box model hack to get your boxes sized the same length in IE 5 as modern browsers, make sure to declare the IE5 width first:

    example:

    #myDIV {
    width:200px; /* IE5 width */
    voice-family: "\"}\""; /* IE5 has no idea what all this is about */
    voice-family: inherit;
    width:180px; /* the REAL width */
    }
    html>body #myDIV {
    width:180px; /* redeclares the real width for Opera */
    }

    I don't have IE5, only IE6, but in IE6 the columns are a little undersized, so I'd start without the hacks, make sure you have everything looking good, then apply the hacks to get things working in IE5.

  • #4
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks for all your help. i think i've got it sorted.

  • #5
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    for the sake of others reading this thread, would you mind explaining how you got it sorted?


  •  

    Posting Permissions

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