conditional statements

Discuss general web development questions. Help others and get help from others.

Moderator: kfury77

conditional statements

Postby mapleleaf » Sat Apr 09, 2011 2:51 pm


We all use conditional statements in our coding of web pages; it is a necessary evil as ideally not having them is the better.

Ideally one doesn't want to use conditional statements as they do affect the overall performance of a web site and/or page.

In designing web pages, one should also consider the optimization factor prior to launching it.

Conditional statements are a necessary evil so; so how can we improve the affect that conditional statements have.

In your code at the top in your head element, you may want to include the following that is right after the opening head element

<!ā€“[if IE]><![endif]ā€“>

For more info, here is something worthwhile reading and noting.

http://webforscher.wordpress.com/2010/0 ... down-ie-8/



User avatar
mapleleaf
 
Posts: 121
Joined: Thu Oct 14, 2010 2:21 am
Location: Ashcroft, BC Canada

Return to Web Developer Talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron