Thursday, September 09, 2010
  Search
 
Register
Login
 
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 . . .

How to Use the DNNLabelEdit Control
 It's easy to use the DNNLabelEdit control, you know the one you mouse over and edit in place? Yeah, that one. In just a few minutes, you can begin using the control on your sites as well for full on...

Find this article and more in the Module Development category

Read This Article . . .

DotNetNuke 5 Cambrian Extropy Skin Features and Limitations
The new DotNetNuke Extropy skin looks very cool from a distance...leaps and bounds above the old default blue skin. But, it's got some limitations you should know about upfront.

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 . . .

Using DNN to take Advantage of GoDaddy Domain Names
Let's face it, GoDaddy is cheap. Pay for the hosting services and the domain names are $1.99, not a bad deal. And even without hosting services, you can pick up domain names for as low as $6.99. Put ...

Find this article and more in the category

Read This Article . . .

Customize Your DotNetNuke Installation
Do you ever get tired of installing DotNetNuke just to go and change the same properties over and over? Why not just customize your install and skip the drudgery all together…

Find this article and more in the category

Read This Article . . .

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 . . .

Quick Look at Some New Features of DotNetNuke 5 Cambrian
DotNetNuke’s much anticipated Cambrian has finally been made available as a Release Candidate and while it looks like the same ol’ packages from afar, it’s packed with some nice new features that are...

Find this article and more in the category

Read This Article . . .

Creating new DotNetNuke HTTP Alias Records
 Setting up DotNetNuke to handle serving requests for Portal Alias records is a breeze. You can use these records to direct your site to handle requests for multiple domain names to one website with ...

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 . . .

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