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, ...The Disappearing Div Layer in my SkinThe Disappearing Div Layer in my Skin
Previous
 
Next
New Post
3/6/2008 3:39 PM
 

Hey All,

What I'm trying to do:
I've build a skin design that uses a nested div tag, which uses a relative position attribute for intentionally offsetting a layer containing a Content Pane.  I'll reference this area as TopLeft.

My problem:
First, when testing this in IE 7, I found that when I had no modules in the TopLeft, the layer appeard as expected.  But when refreshing the page, it bumped it's positon out of place (basically stripping it's top relative position attribute, but not the left ).  More oddly, if there was a module in the TopLeft, it would still work normally except again, when if you refreshed the page, in which case the whole TopLeft area would just disappear.

Since then, I've found one factor that half-way solves my problem and clues me into the issue.  In my skin, in the dnn nav menu, I set the DelaySubmenuLoad attribute to true.  Now on refresh, it doesn't disappear.  It still, however, screws with the position on refresh. 

But another clue, if I then go to the nav menu and mouseover a page title containing a sub menu, my TopLeft div will re-align to it's proper position.  I figured I could live with this.  Then I found another problem.  When you edit a page and mouseover anything that will pop-up a div (like module settings menus), the TopLeft area disappears again which is a real problem.

Note: all the above problems did not occur in firefox (of course)

So now I'm stuck because it seems like an issues that is tied to DNN's show/hide div handling, IE7's awesome   javascript handling, and my css design caught in the middle.  Any thoughts?

Thanks much,
Ben

 
New Post
3/6/2008 6:20 PM
 

I'm not sure I' getting what you mean, but does this look anything like what you want in IE7 
(FF2 doesn't look the same since it doesn't handle display:inline-block but that's a module setting so it may not affect your desired result).
http://headhunter.h1x.com/Projects/NightshadeSkin.aspx

If so, I'll be happy to post a download link on that site so you can download and muck with it.

 
New Post
3/7/2008 4:55 AM
 

Be, did you check the hTMl for errors (often the cause of strange problems).

Couls you post a link to the page?

 

 
New Post
3/7/2008 9:33 AM
 

Did you change the doctype to force IE7 to run in standards compliance mode? DNN defaults to Quirks mode which can really drive you insane when using CSS / <div> tag layouts. I had a similar issue and changing the doctype for the skin fixed / resolved the issue.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...The Disappearing Div Layer in my SkinThe Disappearing Div Layer in my Skin


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