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, ...Fixed widht without tables?Fixed widht without tables?
Previous
 
Next
New Post
5/23/2008 7:12 PM
 

I made a simple fixed width skin:

<div id="container">
<div id="navigation">
    [NAV]
</div>
<div id="content-container">
    <div id="ContentPane" class="content" runat="server">
    </div>
</div>
</div>

with the following styles applied to it:

html, body {
    margin:              0;
    background-color:    #A8BCC6;
}
a img {
    border:              none;
}
#container {
    position:            relative;
    top:                 0;
    width:               640px;
    margin:              0 auto;
}

and a standards compliant doctype (so IE actually centers the container DIV):

<SkinDocType><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">]]></SkinDocType>

now even a trivial layout like this completely throws off the navigation submenus, they're shifted off to right in IE by the same amount the #container div is offset from the left viewport edge. Is there a way to actually use DNN's NAV or SOLPARTMENU without having to lay everything out using tables?

And few related questions: is there a way to have one of those controls to use UL and LI for menus, instead of tables? Is there a way to have one of those controls to actually render HTML instead of a script that uses XmlHttpRequest to pull the menu (why would you ever do that? an extra server request for information that is known when you render the page?). Is there any sort of documentation that lists what settings those controls have, so I don't have to use a disassembler and try to guess what each property means?

 

 
New Post
5/24/2008 4:48 AM
 

now even a trivial layout like this completely throws off the navigation submenus, they're shifted off to right in IE by the same amount the #container div is offset from the left viewport edge. Is there a way to actually use DNN's NAV or SOLPARTMENU without having to lay everything out using tables?

No

And few related questions: is there a way to have one of those controls to use UL and LI for menus, instead of tables?

In the new version (DNN 5) not now

Is there a way to have one of those controls to actually render HTML instead of a script that uses XmlHttpRequest to pull the menu (why would you ever do that? an extra server request for information that is known when you render the page?).

Yes

Is there any sort of documentation that lists what settings those controls have, so I don't have to use a disassembler and try to guess what each property means?

There is a document here

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Fixed widht without tables?Fixed widht without tables?


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