Training

"Winners make choices,
losers make excuses.
"
Decide to be a Winner!!!!

±Arrows Getting Started

± Phase 1
Planning

± Website Tools

± Phase 3
Conceptual Design

± Helpful Information

± Phase 4
Physical Design

± Phase 5
Testing

± Phase 6
Implement and Market Website

± Other Web Development Items

± Multimedia

± Useful Utilities

± Programming

± Advanced Programming

± Microsoft Office Products

± Computer Maintenance

± Other


Web Design

NOTE: This is a collection of information and links collected over the years that might provide useful information. A Safer Company LLC does not guarantee, endorse or approve any of these links or their scripts. Use these links to other websites at your own risk.

HTML - Conditional Comments for IE

Different browsers and versions of browsers support different tags and scripting features. IE5+ started offering Called Conditional Comments (CC).

Conditional Comments (CC) is a set of comment-like tags that IE 5+ supports:

  • look like regular HTML comments
  • are treated as HTML comments by all browsers except IE
  • can be used to selectively "comment out" any portion of your page

Example:
<!--[if IE]> You are using IE (IE5+ and above). <![endif]-->

Detecting Internet Explorer Version

Examples:

<!--[if IE 5.5000]> IE 5.5 has been detected <![endif]-->

<!--[if IE 6]> IE 6 has been detected <![endif]-->

Notice: the version 5.5- as 5.5000. This four digit definition is called version vector and is required whenever the version to detect is a subset of an integer.

<!--[if gte IE 7]>
<link rel="stylesheet" type="text/css" href="PATH/filename" />
<![endif]-->

<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="PATH/filename" />
<script type="text/javascript" src="PATH/filename.js"></script>
<![endif]-->

Operators

Operator syntax Description
! The "not" operator.
lt The "less than" operator.
lte The "less than or equal to" operator.
gt The "greater than" operator.
gte The "greater than or equal to" operator

Exampe:

<!--[if gte IE 6]> IE 6+ has been detected. <![endif]-->

top of page

Page last updated: May 31, 2012 14:46 PM

It is all about:
Content and Navigation...

Web Site by: A Safer Company LLC