biggieuk Posted January 5, 2012 Share Posted January 5, 2012 Hi all, I am usually able to make my horizontal menus center correctly in IE7 but can't seem to make it happen with this. http://jsfiddle.net/9bkgd/1/ If you view in most other browsers the items will horizontally be centered but not in IE7? Please help! Quote Link to comment https://forums.phpfreaks.com/topic/254422-horizontal-items-wont-center/ Share on other sites More sharing options...
Frank P Posted January 5, 2012 Share Posted January 5, 2012 I don't know a quick fix because you have some peculiar code, but the last tutorial on my signature page covers cross-browser centering as well. Quote Link to comment https://forums.phpfreaks.com/topic/254422-horizontal-items-wont-center/#findComment-1304621 Share on other sites More sharing options...
Labradoodle-360 Posted January 6, 2012 Share Posted January 6, 2012 If I understand you correctly, you're attempting to center your navigation bar in the browser? Why not just wrap the ul in a div, with the style text-align: center;? (You'd also need a width) Quote Link to comment https://forums.phpfreaks.com/topic/254422-horizontal-items-wont-center/#findComment-1304696 Share on other sites More sharing options...
coolpriya073 Posted January 8, 2012 Share Posted January 8, 2012 margin auto and reset ur style at the beggining..thats a big problem with ie Quote Link to comment https://forums.phpfreaks.com/topic/254422-horizontal-items-wont-center/#findComment-1305473 Share on other sites More sharing options...
deathadder Posted January 10, 2012 Share Posted January 10, 2012 it doesen't look like you have a hack for ie7 in the css you have a hack for mozilla based browsers but not ie based Quote Link to comment https://forums.phpfreaks.com/topic/254422-horizontal-items-wont-center/#findComment-1306089 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.