PDA

View Full Version : IE Problem - Nav Area Not Fitting in IE. Fine in Firefox.



NTxNerd
20 Mar 2011, 08:16 PM
Check this out - www.stillblessedwithoneless.com/mockup/index2.html

The nav tabs look great in firefox; however in IE they are too big and overflow.. Is there a way to make them fit in IE or a different CSS used in IE?

Any ideas on how to make this work?

resdog
21 Mar 2011, 07:49 AM
You could use IE comments in the HTML page to declare different paddings/margins for IE. If you have php enabled, you can use a Browser detection script to determine what the browser is and dynamically echo css calls if it's IE:

http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/