conditional statements

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

Moderator: kfury77

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

conditional statements

Post by mapleleaf »


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/



Post Reply