Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/camid/web-development-nebraska.com/wp-settings.php on line 18

Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/camid/web-development-nebraska.com/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/camid/web-development-nebraska.com/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /home/camid/web-development-nebraska.com/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /home/camid/web-development-nebraska.com/wp-includes/comment-template.php on line 0

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /home/camid/web-development-nebraska.com/wp-includes/plugin.php on line 339
Internet Explorer Hacks and Work Arounds - Web Development - Website Design - Camid Studios
Web Development News

Internet Explorer Hacks and Work Arounds

Browsers will still see many web sites very differently. Now we have even more browsers to worry about with systems like the Play Station 3, iPhone, and now Google’s Chrome. However there is a workaround that internet explorer incorporated into their latest browser, Internet Explorer 7. Though we would all like a standard to be an actual standard as opposed to guidelines ( which DTD is being more referred as for html/xhtml ), it is nice and actually a shock to see Microsoft recognize the differences and give us a useful way of handling the problem.

Internet Explorer calls these hacks: Conditionals. These are more or less comments that IE will interpret and other browsers will see as comments (as they should).

The following is a short list of conditionals Internet Explorer has given to us:

<!--[if IE 5]>If browser is Internet Explorer 5 display content< ![endif]--><!--[if IE 5.5]>If browser is IE 5.5 display content < ![endif]--><!--[if IE 6]>If browser is IE 6 display content< ![endif]--><!--[if IE 7]>If browser is IE 7 display content< ![endif]--><!--[if gte IE 5]>If browser is GREATER THAN IE 5 display content< ![endif]--><!--[if lt IE 6]>If browser is LESS THAN IE 6 display content< ![endif]-->
<!--[if IE]>If browser is Internet Explorer display this content< ![endif]--><!--[if !IE]>- -> ( NO SPACE between - - )If browser is NOT Internet Explorer <!--<![endif]-->

The last two we find to use the most. The more popular and useful approach to utilizing these ‘conditionals’ is when including style sheets. You will find suggestions to include different style sheets, one for internet explorer, and one for others ( some suggest one for IE7, IE6 and below, and others ). We have found this is quite useful to a degree. Before jumping to conclusions and having two completely different style sheets, code smart. Include a universal style sheet, and then all differences you need to make between browsers, take those specific style out of the universal style sheet and copy these styles into your separate style sheets. Then edit the sheets as necessary. This way you do not have to edit all CSS files for even the smallest change.

Note: Nothing will ever be perfect though, keep this in mind. Take this page for example: Hopefully you are using firefox or chrome, but IE users, it’s your own fault this page brakes!

Tags: , ,



No Ideas Responded Yet!

Respond with Your Ideas





Camid Studios Inc. © 2008

Web Design by Camid Studios
Entries (RSS) and Comments (RSS)
Based out of Lincoln Nebraska and Omaha Nebraska
Web Design and Internet Development is powered by Website Designers Camid Studios -