Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Info on adapting to multiple browsers and changes in IE7 and 8


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 11, 2009, 03:56 PM
jack96161's Avatar
jack96161
 
66 posts · May 2009
For years I and many others have gone crazy getting our web sites to render identically on multiple browsers - especially the dreaded IE6!!! This has led to many "IE hacks" on our HTML and CSS to try to adjust to the odd interpretations by IE6.

The good news is that IE6 is fading fast, but we may have left over hacks that could cause problems in the future. With IE7 (and now 8) Microsoft browsers recognize "child selectors". E.g., in the past, If you wanted to send a different width value to IE than to other browsers, you could have used the following:

#foo {width: 400px;}
html>body #foo {width: 300px;}

Historically, the first CSS rule would have been just for any IE and the second for every other browser. Now, the first CSS rule is for IE6 and previous versions and the second for IE7/8 and non-IE browsers.

In addition, the old CSS star hack used to activate separate CSS styles for IE6 doesn't work with IE7/8. In the past, to send commands only to Internet Explorer (including IE on the Mac), many of us used:

* html #foo {width: 400px;}

IE6 and before interpreted this line, whereas all other browsers ignored it -- essentially making use of an MS bug that existed for years. Now, IE7 will (correctly) ignore the above command, along with all other non-IE browsers.

We have two issues here -- when to remove the IE6 hacks from our code, and when will they mess up rendering in the future? It might warrant a stroll though our current code (and Atahuapa's) to ferret out any left over IE6 debris.

I gleaned this and more from a pretty complete description of IE7 changes here-- http://www.webcredible.co.uk/user-fr...plorer-7.shtml

Jack

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Categories, Multiple versions of Altahualpa Jaguwar Atahualpa 3 Wordpress theme 16 Apr 27, 2010 09:55 AM
Problems with header in different browsers theassembly Header configuration & styling 3 Oct 9, 2009 03:19 PM
logo area doesn't show in some browsers xaveryptak Header configuration & styling 1 Aug 27, 2009 07:52 PM
Is this theme incompatablie with IE7? clearlygold Header configuration & styling 5 Apr 2, 2009 07:53 AM
Theme not displaying properly in all browsers tepper Atahualpa 3 Wordpress theme 1 Feb 17, 2009 06:51 PM


All times are GMT -6. The time now is 01:52 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.