Note that there are some explanatory texts on larger screens.

plurals
  1. POJSP alignment issue in IE when I use IP address
    primarykey
    data
    text
    <p>I Am trying to create the page where in am facing the problem with the alignment. the Jsp page works fine in localhost. but When I use IP address the is some alignment issue.</p> <p>Could You Please help me for this issue.</p> <pre><code> &lt;!DOCTYPE html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt; &lt;title&gt;&lt;/title&gt; &lt;script src="&lt;%=request.getContextPath() %&gt;/TSStatic/javascript/jquery-1.7.1.min.js"&gt;&lt;/script&gt; &lt;script&gt; $(window).on('load resize',function(){ $('#col3').css({top:$('#col2').height()}); }); &lt;/script&gt; &lt;style type="text/css"&gt; html,body{height:100%;margin:0;padding:0} html&gt;body{ margin-left: auto ; margin-right: auto ; width: 984px; min-width: 953px; max-width: 1260px; } #col1{ overflow:hidden; position:absolute; width:100%; top:136px; bottom:15px; } #col2{ background-color:green; overflow:hidden; position:absolute; height : auto; width : 984px; } #col3{ background-color :pink; overflow:auto; position:inherit; top : 0px;; bottom : 15px; width : 100%; float : left; clear : both; display: inline-block; } #top{ position:absolute; left:0; width:984px; top:0px; height:136px; background:red; overflow:hidden; } #bottom{ position:absolute; left:0; width:984px; height:30px; bottom:0; background:red; overflow:hidden; } #wrap{ height:100%; text-align:center; display:block; position:relative; margin: 0 auto; } &lt;/style&gt; &lt;!--[if lte IE 6 ]&gt; &lt;style type="text/css"&gt; * html {padding:330px 0 20px} * html body{padding:330px 0 20px;padd\ing:0;} * html #col1,* html #col2, * html #col3{ height:100%; position:static; float:left; } * html #top, * html #bottom{ clear:both; left:50%; margin-left:-380px; } * html #wrap{ width:860px; margin:auto; position:relative; height:100%; } &lt;/style&gt; &lt;![endif]--&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="wrap"&gt; &lt;div id="top"&gt; &lt;h1&gt;Header&lt;/h1&gt; &lt;/div&gt; &lt;div id="col1"&gt; &lt;div id="col2"&gt; &lt;/div&gt; &lt;div id="col3"&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="bottom"&gt; Footer &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload