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, ...Skin based on DIVsSkin based on DIVs
Previous
 
Next
New Post
10/22/2006 12:42 AM
 
Just my two cents...
I designed my first skin with pure XHTML using absolutely positioned DIVs that stretch the width of the screen. I was shocked when I realized that the controlpanel was buried behind my header and that the skin didn't adjust for it to fit. Duh right? I felt pretty dumb, but was persistent. I then tried changing the order and nesting of my DIVs and relatively positioning them (using a javascript to pick between two separate stylesheets for IE and Mozilla). That proved not to work great for me. My goal was to get away from HTML Tables altogether. I wound up frazzled and at my wits end and decided to just go with tables and make it work as best as possible. It worked much much better. I truly wish I had the time to figure out pure CSS (and have done plenty of searching on the web) but in the end, if you are using DNN, I recommend just going with tables. It's more cumbersome to try to make pure XHTML work great in DNN. Hopefully that is something they will address in the future, but I'm sure there's bigger fish to fry.

On a slightly different note, I was having some loading time problems with my DNN site and chalked it up to the nested tables, but after doing some reading I found that ASP.NET closes down after an hour of inactivity on my server. I set a scheduled even to hit my site hourly and it now loads in 3-5 seconds every time! I'm obviously not a high traffic site, but it is important that when someone hits my site that it be fast as it is a representation of my work. And although HTML tables are more of a pain than pure XHTML, they are less of a pain in DNN than pure CSS. I'll take the trade-off until someone points me in the right direction.
 
New Post
10/26/2006 2:50 PM
 

I'm heading in the same direction too; I'd like the XHTML / DIV approach since it copes very well with ASP.NET development, but I'm happy enough (still) with the TABLE stuff.

About the loading delay I suffer from that as well... someone on the list recommended me SmarterPing:

http://www.smartertools.com/Products/SmarterPing/Default.aspx

Cheers, Pieter 

 
New Post
10/27/2006 5:43 PM
 

well first of all yous houldt try to make a table-less skin with abasilute positioned divs this will be very messed up in admin vieuw

If you set it up correctly a tableless dnn skin is very straightforward if you use floated divs. Below are my last 3 skin design the first is my own personal site that im still trying to finish ( alst complete multilanguage skin ) and the other 2 are large information/content heavy portals that look about the same in 95% of all browsers.

http://www.schwingsoft.com

http://www.politieknieuws.nl

http://z.nu.nl

There are no control panel issues for the admin in these skins. But what you need to do is have the action menu in your container replaced with the standard dropdownactions from old dnn2 days. This is because the solpartactions dont like it if you use different doctypes

 

 

 

 
New Post
10/30/2006 12:44 PM
 
You can create a tableless skin without the control panel disapearing behind your content like this:
 
<div id="main">
   <div id="heregoesyourcontent">
   </div>
</div>
Put all you absolutely positioned stuff in the "heregoesyourcontent" div and set
 
#main
   {
   position:relative
   }
 
then the control panel will move the whole site down... if it apears.
 
New Post
10/30/2006 2:21 PM
 

Hi Timo, I have tried your suggestion with the code below but while the LOGO div does jump below the ControlPanel, the BANNER doesn't. Any help would be appreciated!

I have based my tests on a copy of the DNN-Blue skin template, have made a copy inside my DNN Starter Kit Project and modified the Horizontal Menu - Full Width.ascx control:

1. removed this

<TR>

<TD id="ControlPanel" runat="server" class="contentpane" valign="top" align="center"></TD>

</TR>

2. inserted the following code after the Register tags:

<div id="main">

<div id="content">

<div style="width: 100px; height: 100px">

<dnn:LOGO runat="server" id="dnnLOGO" />

</div>

<div style="width: 100px; height: 100px; z-index: 100; left: 347px; position: absolute; top: 8px;">

<dnn:BANNER runat="server" id="dnnBANNER" />

</div>

</div>

</div>

<br /><br /><br /><br /><br /><br /><br /><br /><br />

<br /><br /><br /><br /><br /><br /><br /><br /><br />

TIA,

Pieter

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin based on DIVsSkin based on DIVs


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