Note that there are some explanatory texts on larger screens.

plurals
  1. POMy site doesn't look good in Firefox
    text
    copied!<p>im working on a web app and my code is working good in chrome and explorer but on Firefox its giving me troubles. i add a link to a screenshot so you can see how the menu looks(the black css boxes should be under the menu): <a href="http://imageshack.us/photo/my-images/593/menuprob.jpg/" rel="nofollow">link to see the menu</a></p> <p>this is my style css :</p> <p>/<em>-- Menu --</em>/</p> <pre><code>#menu { height:39px; position:relative; float:right; margin-top:33px; background:url(../images/menu/bg.jpg) repeat-x; } #menu-left { width:8px; height:38px; position:relative; z-index:10; float:left; background:url(../images/menu/menu-sx.jpg); } ##menu-right { width:8px; height:38px; position:relative; z-index:10; float:right; background:url(../images/menu/menu-dx.jpg); } .menu-item { float:left; position:relative; z-index:100; cursor:pointer; } #menu-name { float:left; padding-top:10px; padding-right:11px; font-size:10pt; color:#FFF; text-shadow:#001F2E 0px -1px; } #menu-rollover-left { width:98px; height:38px; position:absolute; top:0; left:0; z-index:0; background:url(../images/menu/rollover-left.jpg); } #menu-rollover-right { width:86px; height:38px; position:absolute; top:0; right:0; z-index:0; background:url(../images/menu/rollover-right.jpg); } /*-- Menu labels --*/ .label { height:34px; position:absolute; top:103px; z-index:200; opacity:0; filter:alpha(opacity=0); } .label-left { width:9px; height:34px; float:left; background:url(../images/menu/label-left.jpg); } .label-right { width:9px; height:34px; float:left; background:url(../images/menu/label-right.jpg); } .label-center { height:34px; float:left; background:url(../images/menu/label-center.jpg) center; } .label-center span { position:relative; top:7px; font-size:8pt; color:#FFF; text-shadow:#000 0px -1px; } /*-- Notifications flag --*/ #header a { text-decoration:none;} #red-flag { width:27px; height:51px; position:absolute; top:33px; right:62px; z-index:300; background:url(../images/menu/red-flag.png); font-size:9pt; color:#FFF; text-shadow:#3B0001 0px -1px; text-align:center; line-height:67px; cursor:pointer; } </code></pre> <p>and this is my html code :</p> <pre><code>&lt;div id="menu"&gt; &lt;div id="menu-left"&gt;&lt;/div&gt; &lt;a href="/doweets/index"&gt;&lt;div id="home-btn" class="menu-item" onmouseover="RollMenu(this, event);" onmouseout="RollMenu(this, event);"&gt;&lt;img src="/images/menu/home.jpg" /&gt;&lt;/div&gt;&lt;/a&gt; &lt;a href="/calendar/week"&gt;&lt;div id="calendar-btn" class="menu-item" onmouseover="RollMenu(this, event);" onmouseout="RollMenu(this, event);"&gt;&lt;img src="/images/menu/calendar.jpg" /&gt;&lt;/div&gt;&lt;/a&gt; &lt;a href="/findfriends"&gt;&lt;div id="addfriends-btn" class="menu-item" onmouseover="RollMenu(this, event);" onmouseout="RollMenu(this, event);"&gt;&lt;img src="/images/menu/addfriends.jpg" /&gt;&lt;/div&gt;&lt;/a&gt; &lt;div class="menu-item"&gt;&lt;img src="/images/menu/line.jpg" /&gt;&lt;/div&gt; &lt;div id="menu-name"&gt;&lt;%= current_user.name %&gt;&lt;/div&gt; &lt;a href="/notifications/index"&gt;&lt;div id="notifications-btn" class="menu-item" onmouseover="RollMenu(this, event);" onmouseout="RollMenu(this, event);"&gt;&lt;img src="/images/menu/notifications.jpg" /&gt;&lt;/div&gt;&lt;/a&gt; &lt;a href="/users/edit"&gt;&lt;div id="settings-btn" class="menu-item" onmouseover="RollMenu(this, event);" onmouseout="RollMenu(this, event);"&gt;&lt;img src="/images/menu/settings.jpg" /&gt;&lt;/div&gt; &lt;a href="/users/sign_out"&gt;&lt;div id="logout-btn" class="menu-item" onmouseover="RollMenu(this, event);" onmouseout="RollMenu(this, event);"&gt;&lt;img src="/images/menu/logout.jpg" /&gt;&lt;/div&gt;&lt;/a&gt; &lt;div id="menu-right"&gt;&lt;/div&gt; &lt;!-- Rollover states --&gt; &lt;div id="menu-rollover-left"&gt;&lt;/div&gt; &lt;div id="menu-rollover-right"&gt;&lt;/div&gt; &lt;/div&gt; &lt;!-- Notifications flag --&gt; &lt;a href="/notifications/index"&gt;&lt;div id="red-flag" onmouseover="RollMenu(this, event);" onmouseout="RollMenu(this, event);"&gt; &lt;%= count %&gt; &lt;% if count == 0 %&gt; &lt;script&gt;$("#red-flag").css("display", "none");&lt;/script&gt; &lt;% end %&gt; &lt;/div&gt;&lt;/a&gt; </code></pre> <p>at some pages of the menu it dosent working at all. thank you all. Nir.</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