-1

Link

The problem is in the jQuery Mega menu. It somehow displays correctly on Google Chrome Linux and Internet Explorer (Windows 8), but incorrectly on Opera (Linux), Google Chrome (Windows), Firefox (windows), etc. If it is displayed incorrectly, last menu when hovered overlays with search input. What could be the issue here? I do not want to change the paddings.

Ernestas
  • 113
  • 6

2 Answers2

2

The difference is most likely due to browsers interpreting decimal pixel numbers differently. Each menu item doesn't have explicit width set via CSS so it gets fraction of pixels that are respected in some and gets rounded in some. Now, that only makes 1px difference per element but that eventually add up to 10px, 20px, and more.

So the solution would be to give enough room between menu item and the search bar, maybe make it narrower.

This might help you understand the issue in detail: Are the decimal places in a CSS width respected?

Community
  • 1
  • 1
0

Dont Know is it right method or not

You have some code in your CSS file on line no 2025

#searchform {
    position: absolute;
    top: 79px;
    left: 744px;
    width: auto;
    height: auto;
    margin: 0px;
    display: table-cell;
}

edit the left property value to 764px from 744px;

and on line no 3416

#searchform .text_input {
    width:149px;
    height: 9px;
    padding: 10px;
    position: relative;
    top: -1px;
    vertical-align: middle;
    font: 11px Arial,sans-serif;
}

Remove the width property from this chunk of code

Sahil Popli
  • 1,967
  • 14
  • 21
  • As far as I understand, this will not help, because the search form is added using absolute position, which means that it cannot calculate width on the basis of remaining space in the menu. – Ernestas May 24 '13 at 11:37