Cyto Posted September 8, 2011 Share Posted September 8, 2011 Hi, My site(http://www.gameson.nl/) on browser ie9. I have floating problem(i think), but don't know how to fix it. Can someone help? It displays correct on firefox and chrome. Cheers Quote Link to comment https://forums.phpfreaks.com/topic/246742-ie9-float/ Share on other sites More sharing options...
cssfreakie Posted September 8, 2011 Share Posted September 8, 2011 you have a special stylesheet for IE9 that overwrites some vital properties. ! of them is that you set float to 'none' There is absolutely no need to have an extra stylesheet for IE9, it's a brilliant browser. Also, don't mix float left and right. Just stick to float: left for all your floating elements and if needed adjust the margin and or padding on them so they align properly. Quote Link to comment https://forums.phpfreaks.com/topic/246742-ie9-float/#findComment-1267120 Share on other sites More sharing options...
Cyto Posted September 8, 2011 Author Share Posted September 8, 2011 I added a witdh to the float element. It worked. Thx. Quote Link to comment https://forums.phpfreaks.com/topic/246742-ie9-float/#findComment-1267147 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.