html - google custom search positioning in firefox -


im having issue adding in custom google search engine website working on. positioning of search bar causing problems me in chrome , ie. supposed in center div, , infact show in center show after every other div before loaded. it gave me huge white space instead of starting in center div. managed working in chrome , ie, still doesn't work on firefox.

#searchbar{ width:620px; margin: 22px 160px; position:relative; clear:both;  max-height:500px; overflow:auto; } 

chrome picture

firefox picture

also absolute positioning doesn't work out because if stretch screen go on wrap div.

are making use of css reset tool like: erik meyer's css reset?

these resets typically more consistency between way different browsers render css effects onto markup. start there, if doesnt directly fix position, set appearance both browsers rendering search bar similarly. can accurately decide how adjust it, without having play tug of war between different browsers


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -