Saturday, July 31, 2010
  Search
 
Register
Login
 
Installing Active Directory Authentication Package on DotNetNuke
DotNetNuke has abstracted the authentication providers away from the core giving site owners the ability to add new authentication systems. You can see in the picture below that by default, the DotNe...

Find this article and more in the category

Read This Article . . .

Upgrading to DotNetNuke Cambrian 5.0 from DotNeNuke 4.x
If you're looking to try out the new DNN Cambrian package, you can upgrade previous DotNetNuke installations with the following steps. Remember, as of right now, the DNN 5.0 Cambrian package availabl...

Find this article and more in the category

Read This Article . . .

Simple Intro to the DNN UserInfo Class
 New DNN developers often wonder how to expose information about logged in users to a custom DotNetNuke module. So, I threw together a very simple example to show how easy it is to begin using the bu...

Find this article and more in the DotNetNuke category

Read This Article . . .

Quick Check for Troubleshooting the CodeEndeavor Ajax Templates
I haven’t just installed the the template and created a module out of the box yet. However, I have come across a few things that I know to check and fix and I’m up and running in no time at all. If y...

Find this article and more in the category

Read This Article . . .

Converting a CSS Template To a DotNetNuke Skin
Creating DotNetNuke Skins can be a time consuming task. But, it's really not that hard and it doesn't have to be if you can use templates to help get started. Why not convert some free templates from...

Find this article and more in the category

Read This Article . . .

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal
Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make t...

Find this article and more in the category

Read This Article . . .

Resolving Troubles with DNN User Controls During Module Development & Compilation
So, you've created a module in a separate project using some DNN User Controls and now you're receiving errors and can't compile? If you are using these controls (list below) on your module using ...

Find this article and more in the category

Read This Article . . .

Dude, Where’s my web.config file? Resolve Installation DNN Error Message: BC30451: Name 'Config' is not declared
Sometimes troubleshooting DNN errors can be a royal pain. Fortunately, if you know what you're looking for installation errors are usually pretty easy to resolve. Unfortunately, if you don't know wha...

Find this article and more in the category

Read This Article . . .

Setting Up the DotNetNuke Side of Multi-Websites
Ok, so by now you know that DotNetNuke can handle multiple websites, but you still want to know why. Well, it’s pretty easy once you know how to do it, but it can be pretty confusing to some who are ...

Find this article and more in the category

Read This Article . . .

Installing DotNetNuke on the root of GoDaddy - 8 Simple Steps
If you have are having a hard time getting DotNetNuke installed on the root of your hosting account, read this article to find out how. This article was originally written for a the specific purpose ...

Find this article and more in the Hosting Provider category

Read This Article . . .

Recently Added Articles

Minimize
Article List

 

Fixing IE's Hover Problems in DNN

2/27/2009 1:28:33 PM - By Briana Tarrance

Category: | | Comments 0

 

 

Related Links

Fixing :hover Styling

So you have designed a great skin, skin object or module for DNN and it uses the :hover attribute and looks fantastic in Firefox. Now, you find out that nothing works in IE because IE doesn't support the :hover attribute on the elements you've used.

You can fix the issue pretty quickly with the help of a small .htc file available for free download. But, to get it to work in DNN you just have to make sure you place it in the proper place.

Download the following files:

Hover Fix:  Whatever:hover

Place the downloaded file in the ROOT directory of your DNN setup.

Then add the following to the DEFAULT.CSS file.

/* background color for the content part of the pages */
Body
{
    behavior: url(http://localhost/dnn5/csshover3.htc);
    background-color: white;
    margin: 0px;
}

* where http://localhost/dnn5 is the full path to the root of your DotNetNuke installation

The reason for this is that the location of the .htc file is relative to the .html file...not the skin or the CSS stylesheet. Due to the dynamic nature of DNN and all the pages being generated off of the Default.aspx page, the file must be placed in the root of your website and linked from there.

The reason you  have to use the full path is because the Default.css file is located in the Portals/_default folder. I tried using other methods to traverse the path without requiring the full path to be hard coded, but I wasn't able to get it to work that way. If anyone else finds a way to make this happen without requiring hard coding, I'd love to hear it.

I also tried using this from the Portal.css as well as the skin.css, again, with no luck. All other solutions are appreciated.

 

image image IE Hover Fixed in IE6 and DNN
FireFox Displaying Properly IE7 Displaying Properly IE6 Displaying Properly
powered by metaPost

 

 

 


 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use