Old 03-03-2009, 02:25 AM   #1 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 1
Default What's with all the conditional IE comments

Great skin, just wondering...

Why is the source full of comments in this format

<!--[if !IE]>end wrapper<![endif]-->

<!--[if !IE]>start footer<![endif]-->


as opposed to just standard html <!-- comments -->

Last edited by drch; 03-03-2009 at 03:11 AM.
drch is offline   Reply With Quote
Old 03-30-2009, 07:18 PM   #2 (permalink)
Oxylus
 
Octav's Avatar
 
Join Date: May 2008
Posts: 55
Send a message via Yahoo to Octav Send a message via Skype™ to Octav
Default

Hello,

This are fixes for Internet Explorer browser that has a habit of not following standards properly. We need to do this in order to ensure cross-browser compatibility and no differences on display.

Cheers.
Octav is offline   Reply With Quote
Old 04-11-2009, 12:40 AM   #3 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 2
Default

Can you be more specific? Is it used by the behaviour js library or one of the htc files? What is it used to fix?

Just trying to know where to look if I mess something up

Thanks,
lecar_red is offline   Reply With Quote
Old 04-11-2009, 09:12 AM   #4 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,969
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Those are just some "guidelines" (or bookmarks) so you know where a block starts and where it ends. Some coders use conditionals, others use simple comment blocks. We use conditionals and it doesn't harm anyone
Adrian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:20 AM.