i added my css functionality on certain div in header.php in order to create my own top bar on wordpress theme now i am facing only one issue that the wordpress top bar is appearing on chrome but not on IE9 and i coded the css accordingly by adjusting the top=28; which run perfectly on chrome as WP top bar appearing on it but not on IE9 because wordpress dashboard top bar is not appearing on it and extra top space of 28; appears
kindly let me know how can i fix it so it’ll run perfectly on either browsers
WordPress top bar appears if you are logged into your WordPress Admin panel. Try logging in on IE9 and you’ll see the Admin bar. Also, the Admin bar uses CSS with !important attribute. But you don’t have to worry as this bar will not be visible to the visitors of your site.
This Bar has wasted a lot of my time when I was first working on WordPress theme. You should design your theme keeping in mind that there is not such bar i.e. top = 0 (may be check it in another browser where you are not logged into Admin Panel to see the real picture)