Note that there are some explanatory texts on larger screens.

plurals
  1. POdisplaying divs on top of each other in firefox
    text
    copied!<p>I have this below html on my page. I need chart_div right below the zoom_controls class. The below code works on IE and Chrome but on Firefox, chart_div is moves right on the page. Any ideas what may be causing this?</p> <pre><code>&lt;div id="tab10"&gt; &lt;div id="container"&gt; &lt;table&gt; &lt;tr&gt; &lt;td&gt; &lt;div class="zoom_controls"&gt; &lt;a class="profile" style="width: 100px;" id="volume_d" href="#" data-chart="line" data-range="1m"&gt;Volume&lt;/a&gt; &lt;a class="profile" style="width: 100px;" id="Total" href="#" data-chart="line" data-range="1m"&gt;Total&lt;/a&gt; &lt;/div&gt; &lt;div id="chart_div" style="width:700px; height:300px;"&gt;&lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>this is my css file:</p> <pre><code>&lt;style type="text/css"&gt; .zoom_controls a { display: block; width: 80px; height: 16px; line-height: 16px; margin-top: 3px; float: left; text-decoration: none; color: black !important; text-align: center; border: 1px #CCC inset; /* Should look a lot like the original :) */ background-image: linear-gradient(bottom, rgb(214, 214, 214) 34%, rgb(232, 232, 232) 100%); background-image: -o-linear-gradient(bottom, rgb(214, 214, 214) 34%, rgb(232, 232, 232) 100%); background-image: -moz-linear-gradient(bottom, rgb(214, 214, 214) 34%, rgb(232, 232, 232) 100%); background-image: -webkit-linear-gradient(bottom, rgb(214, 214, 214) 34%, rgb(232, 232, 232) 100%); background-image: -ms-linear-gradient(bottom, rgb(214, 214, 214) 34%, rgb(232, 232, 232) 100%); } .zoom_controls a.active { background-color: #a6d1ff; background-image: linear-gradient(bottom, rgb(118, 175, 201) 34%, rgb(166, 209, 255) 100%); background-image: -o-linear-gradient(bottom, rgb(118, 175, 201) 34%, rgb(166, 209, 255) 100%); background-image: -moz-linear-gradient(bottom, rgb(118, 175, 201) 34%, rgb(166, 209, 255) 100%); background-image: -webkit-linear-gradient(bottom, rgb(118, 175, 201) 34%, rgb(166, 209, 255) 100%); background-image: -ms-linear-gradient(bottom, rgb(118, 175, 201) 34%, rgb(166, 209, 255) 100%); } body { font: 10px arial; text-align:center; width: 100%; background: #F9F8F6; margin-top:0; border:0; } #top { background: white; margin-top:0; } table { border-collapse:collapse; border: 0; margin:0 auto; } table caption { text-align: left; color: #00006E; font-weight:bold; font: 15px arial; } table td { border: 0px; } #header { text-align: center; font: 12px sans serif; } #logo { float: left; } hr { background-color: #00006E; border: 0 none; color: #00006E; height: 4px; } .tabs li { list-style:none; display:inline; } .tabs a { padding:5px 10px; display:inline-block; background:#C0C0C0; color:#000; text-decoration:none; text-align: center; font: 18px sans serif; font-weight: bold; } .tabs a.active { background:#6E6EFF; color:#fff; } h1 { font: 25px sans serif; font-weight: bold; } &lt;/style&gt; </code></pre> <p><a href="http://jsfiddle.net/isherwood/QphhM/1/" rel="nofollow">http://jsfiddle.net/isherwood/QphhM/1/</a></p>
 

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