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  |  

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


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


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

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

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