smithmr8 Posted July 7, 2010 Share Posted July 7, 2010 Hi, http://www.bytefish.co.uk/client_DFC/index.php In firefox, the menu displays perfectly. The subitems of the menu are supposed to have a fixed width and be padded. In IE, the width/padding just isn't there. Yet, on the original site, it works fine. No code is different. Help much appreciated. Link to comment https://forums.phpfreaks.com/topic/207032-menu-not-displaying-correctly/ Share on other sites More sharing options...
smithmr8 Posted July 7, 2010 Author Share Posted July 7, 2010 Really need a hand with this. Link to comment https://forums.phpfreaks.com/topic/207032-menu-not-displaying-correctly/#findComment-1082679 Share on other sites More sharing options...
haku Posted July 8, 2010 Share Posted July 8, 2010 You have no doctype. With no doctype, browsers don't know what 'rules' you've built your webpage by, and so they each interpret it in the way they see fit. Cross-browser compatibility is near impossible if you don't have one. It's basically step one of building web pages, particularly since it's the very first thing that is on the web page. When you add one, your page will go out of whack, since the browser will start rendering your page against a set of rules, rather than guessing. So you will have to fix your page even in FF after adding the doctype. After you have that, then you can start looking at IE. Link to comment https://forums.phpfreaks.com/topic/207032-menu-not-displaying-correctly/#findComment-1082813 Share on other sites More sharing options...
smithmr8 Posted July 8, 2010 Author Share Posted July 8, 2010 Oh right, cheers. . Link to comment https://forums.phpfreaks.com/topic/207032-menu-not-displaying-correctly/#findComment-1082918 Share on other sites More sharing options...
smithmr8 Posted July 8, 2010 Author Share Posted July 8, 2010 Thanks ! Has fixed the menu issue. Just a few things to change to get it looking the same in IE again. Yay! Link to comment https://forums.phpfreaks.com/topic/207032-menu-not-displaying-correctly/#findComment-1082919 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.