Chrome rendering html/css differently on webserver vs locally -


i have strange problem chrome rendering simple menu written in css , html. when check website on localhost works on web server there bug.

here link test website http://slitest.me.pn/menu_bug/ (saving locally removes bug)

i care chrome here. have discovered problem caused

 float: left;  

in

 .menu li span 

but funny, in chrome page inspector manually disabled , enabled parameter , started working fine, after refreshing page wrong again... no idea happening.

here's results i'm getting (localhost assume correct):

localhost vs webserver

try use margin-left instead of float:left


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -