Iframe screwing up entire page only in Internet Explorer!

Discussion in 'HTML & Website Design' started by lonrot, Jun 15, 2008.

  1. #1
    Site: www.alicac.org

    I have tried in Firefox and Opera and the site shows perfectly fine, but once I browse it with the crappy but popular Internet Explorer everything goes wrong...

    Take a look:

    Opera:
    [​IMG]

    IE 7:
    [​IMG]

    I have detected where the problem starts, right inside the following framed page, which acts as the upper blue submenu, this is the address:
    http://alicac.org/menu.html

    But, I haven't found why, or how this happens, but it does.

    I know there are many experts around here, please give me some light!
     
    lonrot, Jun 15, 2008 IP
  2. Spawny

    Spawny Well-Known Member

    Messages:
    252
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #2
    i would recmmend yo stay away from Iframes
     
    Spawny, Jun 15, 2008 IP
  3. lonrot

    lonrot Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That's not an option, I won't go away from iframes.
    Any other suggestion? Please check the code!
     
    lonrot, Jun 16, 2008 IP
  4. John M.

    John M. Active Member

    Messages:
    1,087
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #4
    Interested in hearing why not using iframes isn't a option. There are alturnives that are easier, cleaner if not all around better.
     
    John M., Jun 16, 2008 IP
  5. lonrot

    lonrot Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Really? Well, my site is already functional and I don't want to do everything again by a simple error.
    If you guys don't know how to use iframes please don't misslead the topic, I need help to fix this problem, not to change my mind...
     
    lonrot, Jun 16, 2008 IP
  6. desmondhaynes

    desmondhaynes Peon

    Messages:
    195
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    maybe you could share those?
     
    desmondhaynes, Jun 16, 2008 IP
  7. John M.

    John M. Active Member

    Messages:
    1,087
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #7
    He's not interested, if you want to know pm me.
    Recommendations for your site, it seems your css style sheets aren't correct the big thing i see is the background image comand you used doesn't work with ie.
    If your using div's would be much easier to edit.
    Your background image isn't working it seems, try

    background: url(/images/blank.gif);
     
    John M., Jun 16, 2008 IP
  8. lonrot

    lonrot Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Good one. Tell me of a clean alternative which won't require the whole site to be remade from scratch.
     
    lonrot, Jun 16, 2008 IP
  9. lonrot

    lonrot Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    It only removes the blue from both frames but it keeps deforming the site.
     
    lonrot, Jun 16, 2008 IP
  10. John M.

    John M. Active Member

    Messages:
    1,087
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #10
    It's better to recode something, and do it right. Than use something that isn't correct.

    - John
     
    John M., Jun 17, 2008 IP
  11. goodguy75

    goodguy75 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    In my opinion It is impossible to make a web site that will look great in all browsers
     
    goodguy75, Jun 17, 2008 IP
  12. goodguy75

    goodguy75 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    goodguy75, Jun 17, 2008 IP
  13. goodguy75

    goodguy75 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    of course, you can make a simple web site without frames, I am not still sure that it will look great in all browsers even without frames.
     
    goodguy75, Jun 17, 2008 IP
  14. John M.

    John M. Active Member

    Messages:
    1,087
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #14
    Goodguy you'd be wrong how do you explain this site.
    Looks same in all browsers.
    It is very possable.
    There are of course limits to what we can do with websites due to IE 6 still being so widely used and not supportting png transparence.
     
    John M., Jun 17, 2008 IP
  15. goodguy75

    goodguy75 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    John M.

    What site are you talking about?, I didn't understand you.
     
    goodguy75, Jun 17, 2008 IP
  16. goodguy75

    goodguy75 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    You said "how do you explain this site.", What site are yout talking about?
     
    goodguy75, Jun 17, 2008 IP
  17. John M.

    John M. Active Member

    Messages:
    1,087
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #17
    Tip don't multi post you'll get banned.
    As well look at DP.

    - John
     
    John M., Jun 17, 2008 IP
  18. webbom

    webbom Well-Known Member

    Messages:
    971
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    170
    #18
    I'm just guessing here, I've not tested this but to fix the problems with the spaces in the table I think you should set a fixed width in the main table. Right now it's set to 100%.

    <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%"><tr><td align="center" valign="middle">

    The problem with the iframe seems to be a problem with transparency. Are you sure ie accepts transparency on iframes?
     
    webbom, Jun 17, 2008 IP
  19. Cobnut

    Cobnut Peon

    Messages:
    184
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Indeed. Perhaps more importantly, attempting to continue using a tool or method that isn't appropriate only tends to make problems worse as time goes on. From what I can see it's not as though we're talking about a 1000 page website, a rebuild wouldn't take long and you'd have a better foundation.

    goodguy75, it's a nonsense to suggest it's impossible to build sites that work in all browsers. All it takes is planning and forethought. The fact that so many sites don't function/display correctly in all is merely a reflection of the planning/build process.

    Jon
     
    Cobnut, Jun 17, 2008 IP
  20. lonrot

    lonrot Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Here's a short update guys,

    1) I've fixed the table with/height to the correct parameters.
    2) I've removed background images from main html (where the iframes fit)
    3) I have set google address for both iframes to see if the problem was caused by the loaded content inside the frames.

    Guess what? Internet Explorer 7 is still doing the same!!

    Please, see the following images, and check the code...
    The address is: http://alicac.org/index_go.html

     
    lonrot, Jun 18, 2008 IP