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, ...Page not visible in FirefoxPage not visible in Firefox
Previous
 
Next
New Post
6/16/2008 4:57 PM
 

Actually when you get to building CSS layouts its easier / quicker / more efficent to make multiple skins with just a small amount of code changes. For example A similar skin but with the main content pane split into 2 smaller sub panes.

<div id="wrap">
<div id="ControlPanel" runat="server"></div>
<div id="tagline" class="tagline" runat="server"></div>
<div id="loginlinks">[USER]&nbsp;&nbsp;[LOGIN]</div>

<div id="logobanner">
    <div id="logo">[LOGO]</div>
    <div id="banner" class="banner" runat="server"></div>
   
</div>
<div id="imagenavbar" class="imagenavbar" runat="server"></div>

<div id="content">
    <div id="contentpane" runat="server"></div>
    <div id="contentpaneleftside" class="contentpaneleftsidewide" runat="server"></div>
    <div id="contentpanerightside" class="contentpanerightsidenarrow" runat="server"></div>
    </div>
<div id="sidebar">
    <div id="MainNavBar">[HOUSEMENU]</div>
    <div id="leftpane" runat="server"></div>
</div>
<div id="date">[CURRENTDATE]</div>
<div id="footer">[COPYRIGHT]<br />

As you can see it took 2 small short line of code to take my main contentpane and split it into 2 smaller ones. Doing it with a table adds a bunch more code as your spliting a table column or creating a sub table for 2 more cells nested in one table cell.

The reason why CSS are the new hot fab of the web, is based on a recent push by many governments, states, and countries to mandate compliance to accessibilty of the net.

Tables are not screen reader friendly, they don't scale well in different monitors, and were never suppost to be used for layouts to begin with. They are sort of a bad hack gone way to far. Not to mention they bloat webpages, are less resource efficent, and prevent caching options. For example my CSS skins load about 4 times as fast as a few table based ones I have yet to convert. The reason is I can cache the CSS file on the server, so all the browser is processing is the html which is about 10 lines long.

I have created a 23 pane layout for a customer in 60 lines of html using CSS layout. While doing the same layout in tables was around 200 lines of html. I converted their site for them. Ended up being a saving of about 1mb in file size, doesnt seem like much but the site had 2k visitors a day. Saved them around 2Gig in bandwidth a day.

So there are times when you can really see some huge gains from CSS layout. The problem with CSS layouts is most people have a bit of trouble in thinking of them like a table, but just with different tags. Once you start to compare a CSS layout to a table layout there are tons of similarities in overall method. People just not use ot it, yet. I say in 2 or so years table layouts will be a thing of the past.

HouseMenu is pretty easy to use. They just launched a new beta for HouseMenu version 2 which really adds to its capabilities. Can read up on it a bit at houseofnuke.com

If your interested in CSS styling and want to get a serious leg up on skinning DNN with CSS and housemenu, www.dnncreative.com is a good source of information. I found the subscription worth every penny, myself, and cant remember anyone complaining about the site / content. Lee does a good job with his tutorials.

There are also some free CSS based skins to look at / reverse engineer / learn from, and a section dedicated to CSS skins.

Hope all that helps you. Let me know if you ever need help with something. I am working / building a CSS layout skin library. Kinda hoping to get DNN 5.0 soon though cause it will make installing / using all my skins simple for everyone.

 

 

 
New Post
6/17/2008 10:19 PM
 

Well, my I got the skin to show up in firefox but it is mangled. I can get it looking exactly how I want in IE, but only if I am okay with having a blank page in firefox.

Main problems:

1. I have to absolutely position the background, otherwise I can't layer the middle box over the top of it.

2. My control panel gets hidden behind the background panels.

3. Trying to set the z-index to fix the control panel layer makes the page go blank in firefox.

4. My rolloverbuttons which look fine in IE, look mangled.

I am at the end of my wits. Any advice for me? I'm about to redesign the dad-gum thing just so I can move on to something else. I'm that sick of it!

~Bee

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Page not visible in FirefoxPage not visible in Firefox


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