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, ...Using <!--[if IE 6]> for IE CSS exceptionUsing <!--[if IE 6]> for IE CSS exception
Previous
 
Next
New Post
9/1/2010 2:31 PM
 
Can't get an IE exception CSS file picked up using the following in the skin.ascx file:

<!--[if IE 6]> <link rel="stylesheet" type="text/css" href="exception.css"> <![endif]-->

Anyone know how to implement IE-specific CSS statements in DNN?

 
New Post
9/1/2010 3:14 PM
 
You can use the core styles skin object.
More info here: http://www.dotnetnuke.com/LinkClick.a...

Or my Style helper skin object :
http://www.40fingers.net/WeblogsampNe...
 
New Post
9/1/2010 4:57 PM
 
put at the top of the ascx skin code  :
<%@ Register TagPrefix="dnn" TagName="STYLES" Src="~/Admin/Skins/Styles.ascx" %>


and these lines at the bottom of ascx file "
<dnn:STYLES runat="server" id="StylesIE8"  Name="IE8Minus" StyleSheet="css/IE8Fix.css" Condition="IE 8" UseSkinPath="true" />
 <dnn:STYLES runat="server" id="StylesIE7"  Name="IE7Minus" StyleSheet="css/IE7Fix.css" Condition="IE 7" UseSkinPath="true" />
 <dnn:STYLES runat="server" id="StylesIE6"  Name="IE6Minus" StyleSheet="css/IE6Fix.css" Condition="IE 6" UseSkinPath="true" />

create css files as necessary  in css folder and put the needed code for the IE version in each corresponding file.


That's it 


Yehuda Tiram
AtarimTR
AtarimTR
972-2-5700114   |   972-54-4525492   |    http://www.atarimtr.co.il
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Using <!--[if IE 6]> for IE CSS exceptionUsing <!--[if IE 6]> for IE CSS exception


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