Results 1 to 11 of 11

Thread: major IE ****up!

  1. #1
    Join Date
    Oct 2009

    Exclamation major IE ****up!

    i run a couple of norwegian webshops, and they all use the same backend, developed by myself. however im not using any kind of subversion system, and this sucks right now.

    check this link to one of my product-pages in your regular browser (not IE, chrome or firefox i presume)

    then test it in IE, it looks like a complete mess, and its not possible to use the site at all.

    i recently made it W3C validated, but i think this error came after that.

    can anyone see what in the name of the lord is wrong in internet explorer?!

  2. #2
    Join Date
    Dec 2005
    EDIT: I noticed you have a few iframes....I meant your facebook iframe (i.e. like button) in div.newsqp

    I have no idea what it is, but I know that it has something to do with the iframe - the DOM is getting rendered differently (when you look at the inspectors) in IE (even up to IE9) vs everything else.....that's your starting point.

    If I can figure out any further information, I'll pass it along.
    Last edited by aj_nsc; 06-15-2011 at 08:20 PM.
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...

  3. #3
    Join Date
    Oct 2009
    thank you for your time.
    i started with the iframe, but that was not the problem.

    the problem was that you cannot have a form inside a <li></li> in fu*king IE!
    crazy ****! W3C validator doesnt even give an error on that :>

  4. #4
    Join Date
    Oct 2009
    i copied the whole <ul> to another document to test, and it worked fine :>

    so you can have form in <li> ..
    but somehow it doesnt work in my page :>

  5. #5
    Join Date
    Dec 2005
    Yeah, it's not that you can't have a form inside an li....as you have found out.

    What form was specifically causing the problem on your page? Is the problem still there....I'd be interested in finding out the root cause of this.
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...

  6. #6
    Join Date
    Oct 2009
    yeah problem is still there.

    its this form, inside this element:

    <li class="add-cart" style="height:50px;">
    <form method="post" action="/handlekurv/">
    <label>Antall :</label>
    <input type="text" id="buy_antall" name="buy_antall" value="1"/>
    <input type="hidden" id="buy_id" name="buy_id" value="3161"/>
    <button type="submit" onmousedown="document.getElementById('kjop').src='/images/kjop.gif'"/><img id="kjop" alt="kjop_skygge" src="/images/kjop_skygge.gif"/>

    when i test only this piece of code in another document, it works fine. however not in my page context for some reason.

    if you open the developer tool in IE, you can see that it seems like IE doesnt want to close the <li> after the form.. the </li> get transformed to a </li/> of some weird reason. which is why i thought IE didnt want a form inside <li>

    will continue working on this..

  7. #7
    Join Date
    Oct 2009
    IE just doesnt want to close the LI...

    i used the devtool to remove "overflow:hidden" from the css of this li.
    the rest of the page content then showed up, inside this li.

  8. #8
    Join Date
    Oct 2009
    i just found the error!

    i found it after some inspection in the devtool.
    the rest of the code was inside the <button>

    so, conclusion, IE doesnt like that you end <button> short-style , like i do in my code.

    <button type="submit" onmousedown="document.getElementById('kjop').src='/images/kjop.gif'"/>

    had to change it to </button>

    <button type="submit" onmousedown="document.getElementById('kjop').src='/images/kjop.gif'"></button>

    then it worked! omg..

  9. #9
    Join Date
    Dec 2005
    Thanks for posting the answer jagarock.
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...

  10. #10
    Join Date
    Sep 2004
    At the corner of WALK and DONT WALK
    What is wrong with Internet Exploiter is it cannot read XHTML--it only reads it as HTML with odd syntax errors; in other words, no short elements for you (except those IE knows are ALWAYS empty).

    As Internet Exploder 9 has thus far refused to correct the problem, we're kind of stuck, and must still dance to IEvil's tune.

  11. #11
    Join Date
    Oct 2009
    Quote Originally Posted by Mr Initial Man View Post
    What is wrong with Internet Exploiter is it cannot read XHTML--it only reads it as HTML with odd syntax errors; in other words, no short elements for you (except those IE knows are ALWAYS empty).
    really? whoa, bad..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.14596 seconds
  • Memory Usage 2,949KB
  • Queries Executed 15 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (11)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (11)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates