Friday, 15 March 2013

html - frameset not working in IE but works fine Mozilla -


Here is the code that works well in Mozilla, but there is no solution that does not work in Internet Explorer.

   & Lt; FRAMESET cols = "40%, 60%" & gt; & Lt; Frame name = "login_menu_frame" src = "login_box.html" frameborder = "0" scrolling = "no" & gt; & Lt; / Frames & gt; & Lt; FRAME name = "login_body_frame" src = "login_page_body.html" frameborder = "0" scrolling = "no" & gt; & Lt; / Frames & gt; & Lt; / FRAMESET> & Lt; FRAMESET & gt; & Lt; Frame name = "login_fruit_frame" src = "footer.html" frameborder = "0" scrolling = "no" & gt; & Lt; / Frames & gt; & Lt; / FRAMESET> & Lt; / FRAMESET> & Lt; / Html & gt;  

OK, answer me met. The problem lies in the IE only recoznising for the first time, therefore, whatever is placed after that page is not being loaded in the page. The solution is to put each other frameset into [any other frameset] first.

The working code is:

  & lt ;! DOCTYPE html public "- //W3C / DTD XHTML 1.0 frameset // n" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> & Lt; Html lang = "en" xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Top & gt; & Lt; Frameset rows = "15%, 81%, 4%" & gt; & Lt; FRAMESET & gt; & Lt; FRAME src = "header.html" frameborder = "0" scrolling = "no" & gt; & Lt; / Frames & gt; & Lt; FRAMESET cols = "40%, 60%" & gt; & Lt; Frame name = "login_menu_frame" src = "login_box.html" frameborder = "0" scrolling = "no" & gt; & Lt; / Frames & gt; & Lt; FRAME name = "login_body_frame" src = "login_page_body.html" frameborder = "0" scrolling = "no" & gt; & Lt; / Frames & gt; & Lt; / FRAMESET> & Lt; FRAMESET & gt; & Lt; Frame name = "login_fruit_frame" src = "footer.html" frameborder = "0" scrolling = "no" & gt; & Lt; / Frames & gt; & Lt; / FRAMESET> & Lt; / FRAMESET> & Lt; / FRAMESET> & Lt; / Head & gt; & Lt; / Html & gt;  


No comments:

Post a Comment