Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Fixed widht without tables?
Previous Previous
 
Next Next
New Post 5/23/2008 4:12 PM
User is offline Jerry Pisk
4 posts
10th Ranked


Fixed widht without tables? 

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 1:48 AM
User is offline Timo Breumelhof
1600 posts
5th Ranked




Re: Fixed widht without tables? 

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


Timo Breumelhof -- www.searchdotnetnuke.com -- Extended DNN (forum) search
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Fixed widht without tables?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com
The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP