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, ...Tables vs. CSSTables vs. CSS
Previous
 
Next
New Post
8/6/2007 12:41 PM
 

I'm trying to answer the age-old question of which is better: tables or css?  Of course this time I want to answer it for DNN.  My first question is has anybody done a DNN skin that is mostly or entirely css?  Is it possible?  What are some of the complications of one versus the other?

Another concern of mine is the speed of download, which would be faster?  It seems to me that css would be faster because there could be a lot less code to download without all of those table-related tags.  Am I correct in thinking that?

Thanks much,|
Brent

 
New Post
8/7/2007 11:25 AM
 
 
New Post
8/7/2007 11:51 AM
 

Yes, CSS is much better for layout than tables. And yes it is entirely possible. I believe in using one table to hold it all together though. With dynamic content your CSS based design can get messed up.  

Not only that, but most modules also use tables that you have no control over, so even if you do have a tabless skin, you are most likely not going to have all your pages without tables.

You can also check out my site for another example of CSS based design http://www.snapsis.com

 


DotNetNuke Modules from Snapsis.com
 
New Post
8/7/2007 2:43 PM
 

It is possible. I was able (without much pain) to put together a tabless skin using the yahoo developer library, using the grids pattern.

http://developer.yahoo.com/yui/grids/

http://developer.yahoo.com/yui/grids/builder/

Use FF on the grid builder. IE 6 doesn't work very well.

 
New Post
8/7/2007 4:32 PM
 

I would also add one caveat to whether CSS or tables are better: it depends on your design.  Some designs lend themselves better to CSS and some just are not possible in pure CSS without jumping through a lot of hoops to make the design work properly in all browsers.  While CSS is capable of a lot, it also has a lot of Shortcomings which are exacerbated by the current bugs and lack of adherence to the standards by the various browser vendors.  It does not take long in CSS to reach a point where you are relying on a bunch of hacks just to get your design to work.  John's approach is the one I have used in the past where I started with a CSS based design and then sparingly used tables just to make it all work well within the dynamic environment of DotNetNuke.


Joe Brinkman
DNN Corp.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Tables vs. CSSTables vs. CSS


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