eatfishy Posted February 9, 2010 Share Posted February 9, 2010 What up! I have 2 separate CSS: 1 for IE only and 1 for all other web browser. The problem that I'm having is the search bar and search icon not align center in the navigation bar in IE6. It appears to load find in IE7. I am wondering if this is a bug or my CSS could be modified to make it look nicer? www.MikeCleverTips.com Quote Link to comment https://forums.phpfreaks.com/topic/191541-alignment-off-on-ie6-and-ie7/ Share on other sites More sharing options...
vinpkl Posted February 10, 2010 Share Posted February 10, 2010 the link you have provided shows an error of database connection vineet Quote Link to comment https://forums.phpfreaks.com/topic/191541-alignment-off-on-ie6-and-ie7/#findComment-1010072 Share on other sites More sharing options...
sKunKbad Posted February 12, 2010 Share Posted February 12, 2010 You could always use a CSS hack that targets IE6... * html #some-element { padding-top: 1000em; } Quote Link to comment https://forums.phpfreaks.com/topic/191541-alignment-off-on-ie6-and-ie7/#findComment-1011559 Share on other sites More sharing options...
haku Posted February 13, 2010 Share Posted February 13, 2010 Conditional comments are preferred to CSS hacks, because there is no guarantee that a hack won't suddenly work on a future browser, while conditional comments definitely won't work on any browser other than the specific IE versions they are targeting. Quote Link to comment https://forums.phpfreaks.com/topic/191541-alignment-off-on-ie6-and-ie7/#findComment-1011781 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.