Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to use the token [IF:IE] and [ENDIF] ?How to use the token [IF:IE] and [ENDIF] ?
Previous
 
Next
New Post
9/7/2006 5:57 AM
 
Hello !

I'm trying to use the script with condition directly in the skin which will be parsed.

<!--[if IE]>
<style>
.conteneur_Left, .conteneur_Right {
margin-top: -40px;
}

</style>
<![endif]-->

But the part [if IE] is parsed by Dotnetnuke when uploading the skin : Processing token: [IF:IE], and Processing token: [IF].

So i've attempt to use this code, but it don't run.

[IF:IE]
<style>
.conteneur_Left, .conteneur_Right {
margin-top: -40px;
}

</style>
[ENDIF]

How to use the token [IF] and how can i do to make it works ?


Sébastien


The French Language pack for fr-FR is available at www.dnn-fr.org
 
New Post
9/7/2006 11:27 AM
 
I've solved.

Around : I've added several DIV in the skin in order to simulate the min-width css property for IE.
Each DIV add a paddin-top (i don't know why) for IE. I've not found the problem with the [If IE] token in the parse system, but i've solved by saying it at css side.
So, this css function included in skin.css will execute a part for IE only.

@media screen
{
/* add here the content of your skin.css */
}

@media tty
{
    if(content:"\";/*" "*/}} @import 'SpecialIE.css'; /*";}
}

Create a file named SpecialIE.css and add the content which will be loaded by IE only.


Seb


The French Language pack for fr-FR is available at www.dnn-fr.org
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to use the token [IF:IE] and [ENDIF] ?How to use the token [IF:IE] and [ENDIF] ?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out