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, ...dnnNav Menu - Aligned to Right of Layout (across all browsers)dnnNav Menu - Aligned to Right of Layout (across all browsers)
Previous
 
Next
New Post
3/24/2009 5:05 PM
 

Hi All

I trust that my query will be met by the familiar "faces" of the skinning forum.

  1. I'm using DNN 4.9.2
  2. I'm developing a skin using the ascx method
  3. I'm using predominantly DIV XHTML & CSS markup
  4. Yes, I do have a DocType

I need to align the dnnNav Menu to the right of my layout, in a tab-style.  Works in IE7, FF3.0.7, Chrome, and Opera.  But not in IE6, and Safari.

Below, please find relevant html snippet, and css:

HTML:

<div class="dnavmenu_outer">
                    <div class="dnavmenu_inner">
                        <div class="dnavmenu_pane">
                            <dnn:NAV runat="server" id="dnnNAV" providername="DNNMenuNavigationProvider" indicatechildren="False" controlorientation="Horizontal" cssnoderoot="dnavmenu_rootitem" cssnodehoverroot="dnavmenu_rootitem_hover" cssnodeselectedroot="dnavmenu_rootitem_selected" cssbreadcrumbroot="dnavmenu_rootitem_selected" csscontainersub="dnavmenu_submenu" cssnodehoversub="dnavmenu_itemhover" cssnodeselectedsub="dnavmenu_itemselected" csscontainerroot="dnavmenu_container" csscontrol="dnavmenu_bar" cssbreak="dnavmenu_break" cssicon="dnavmenu_icon" />
                        </div>
                    </div>
                </div>


CSS:

.dnavmenu_outer {
    float: right;
    padding-left: 5px;
    margin: 0px 20px 0px 30px;
    background-image: url('images/dnavmenu_l.gif');
    background-position: left top;
    background-repeat: no-repeat;
}
.dnavmenu_inner {
    padding-right: 5px;
    background-image: url('images/dnavmenu_r.gif');
    background-position: right top;
    background-repeat: no-repeat;
}
.dnavmenu_pane {
    height: 40px;
    background-image: url('images/dnavmenu_m.gif');
    background-position: center top;
    background-repeat: repeat-x;
}

In IE6, the "outer" div spans the full width of the layout, but keeps its margins.
In Safari, the "outer" div is floated right, but with about 120px of padding / margin somewhere to the right (weird).

Any suggestions on how to do this..?  Shout if you require more html / css to work from...  I can send files if need be.  Don't have live link just yet.

Thanks
Jon


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
3/26/2009 2:17 PM
 

Anyone..?  Timo? Sebastian..?  Calling the big guns on this one.
Seems simple enough, but can't get it right...


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
3/27/2009 12:50 PM
 

I know IE does not like floated elements inside elements with position:relative or absolute...

Did you check the rest of the skin for HTML errors, this is mostly the cause of Safari problems?

 
New Post
3/27/2009 5:29 PM
 

Hi Timo (and others)

Please check out: http://www.myshebang.co.za/skindevtests/Home/tabid/424/Default.aspx

So this is on a DNN 4.9.0 site, but the error is the same.  Its an markup / css problem I'm sure, but I can't see the wood for the trees...  Seems so simple, but IE6, and Safari 3.1.3 (for pc) don't display as expected.

Thanks
Jon


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
3/28/2009 11:33 AM
 

Difficult to answer, but it is mostly an XHTML error if it fails in another browser besides IE6.

You have 2 head tags on the page, guess that's not the problem

This could be the problem too:

background-color:transparent;
cursor:pointer;
font-size:14px;
width:960px;
}
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...dnnNav Menu - Aligned to Right of Layout (across all browsers)dnnNav Menu - Aligned to Right of Layout (across all browsers)


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