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 divstables VS divs
Previous
 
Next
New Post
11/26/2007 3:09 PM
 

Very cool Salaro! Thanks for contributing this.

 
New Post
11/27/2007 9:01 AM
 

Tables were used for layout before CSS/XHTML existed.  And they're not going away soon.  But the solution to most CSS problems is to stop treating the web like a printed page.  The web is fluid, layouts move outside of the designer's control.  Let them and you'll find you don't need tables.  Divs are easier to style as well.

On the other side, browser rendering is the real issue.  IE notoriously avoids some CSS standards, and doesn't seem like it will ever be fully compliant.  Inheritance is still broken in IE 7 and causing problems.  And you can't force what a user will choose to view your site with.  Sometimes tables are just easier than coding all the exceptions.

Neither loads faster just because of using a table or a div.

Jeff

 
New Post
11/28/2007 10:53 AM
 

lancelong wrote

 Timo Breumelhof wrote

I guess it should be: margin-top: -275px; for true vertical align.

 

Ya, I forgot I offset the content for a banner.

How did this not work?  I have found the method quite good.

Yes it works fine, I used it before, but I had some kind of issue with it IIRC.
I can't remember what it was though... Will use this for my next center-center skin and see.

 
New Post
12/14/2007 5:31 PM
 

Jeff Cochran wrote

Tables were used for layout before CSS/XHTML existed.  And they're not going away soon.  But the solution to most CSS problems is to stop treating the web like a printed page.  The web is fluid, layouts move outside of the designer's control.  Let them and you'll find you don't need tables.  Divs are easier to style as well.

On the other side, browser rendering is the real issue.  IE notoriously avoids some CSS standards, and doesn't seem like it will ever be fully compliant.  Inheritance is still broken in IE 7 and causing problems.  And you can't force what a user will choose to view your site with.  Sometimes tables are just easier than coding all the exceptions.

Neither loads faster just because of using a table or a div.

Jeff

Jeff, I'm a big proponent of using the full width (well 95% of it at least) of the browser and I've never been able to get a skin to be able to do that fluidly when trying to use DIVs only. I'll admit that I'm not the greatest skinner but would this be one of the times where there are a ton of exceptions or am I missing something? The site is http://www.bus.nait.ca/main.

 

 
New Post
12/14/2007 7:25 PM
 

Mike,

Give this tool a try...

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

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...tables VS divstables VS 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