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 IE 6 Hacks.How to use IE 6 Hacks.
Previous
 
Next
New Post
6/4/2008 10:12 AM
 

<!--Load different stylesheet for IE5-6-->
<!--[if lte IE 6]>
<link href='<%=SkinPath%>iehacks.css' rel='stylesheet'/>
<![endif]-->
 
Just put it in your ascx file around the areas that need to use a different style sheet then normal. Now you can pick / choose and stack the conditional comments.
 

 
New Post
6/4/2008 7:37 PM
 

your way can be applied in the skin.css? just I try to insert the similiar hack in the CSS, it does not work! for example:

<!--[if < IE6]
img, div { behavior: url(iepngfix.htc) }
<![endif]-->

or

<!--[if lt IE 6]>
 img,.pngfix { behavior: url(/images/iepngfix.htc) }
<![endif]-->

it looks like the IE had ignored that!


sunblognuke v5 for dnn

Ultimate Blogging Module for DotNetNuke Platform
The professional provider of DotNetNuke support, skin design and custom module development.

 
New Post
6/5/2008 1:20 AM
 

baldwin

this is conditional commnet, it can only be used in html not in css file, use it in the top of your ascx skin and it should be fine. Better is it to put in the default.aspx if that doenst itnerfere with other skins on your portal tho )

 

 
New Post
6/5/2008 1:33 AM
 
you are great guy, thanks a lot! it helps me much.... I exactly got it!

sunblognuke v5 for dnn

Ultimate Blogging Module for DotNetNuke Platform
The professional provider of DotNetNuke support, skin design and custom module development.

 
New Post
6/5/2008 4:16 AM
 

Please note that if you change default.aspx you will loose these changes on upgrade and you will have to reaply them.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to use IE 6 Hacks.How to use IE 6 Hacks.


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