CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 8/12/2005 11:01:49 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 6 Views: 18 Favorited: 0 Favorite
7 Items, 1 Pages 1 |< << Go >> >|
Stonne
Asp.Net User
What to use Tables or DIV's ?8/12/2005 11:01:49 AM

0

Hello there,
When creating a master page should I use a table or use DIV's in html ?
What's best ? Should I include a CSS ? and... if possible... why and when
I want to start the right way !
thanks already
Best regs Stonne
MorningZ
Asp.Net User
Re: What to use Tables or DIV's ?8/12/2005 12:47:01 PM

0

"What's best ?"

Uggg, that's a TOTALLY subjective question, i'd suggest you read up on DIV-"Table-less" design (http://www.google.com/search?hl=en&q=css+table+design) and make the call on your own.....

as for "should i include CSS", if you are doing tables or divs, its "cleaner" to pull the styles out of the code and into the file just so its easier to change across the site....
"If you make it idiot proof, they'll build a better idiot"
Meson
Asp.Net User
Re: What to use Tables or DIV's ?8/16/2005 4:44:15 AM

0

As a general rule:

tables for tabular data. Divs for everything else.

These are W3C rules / recogmendations. Take them as that.

If you need tables for "layout", use divs with css.

As for the separate CSS file? There are hints that the W3C is thinking of making it a requirement. It splits the format and the structure.
MorningZ
Asp.Net User
a good url8/16/2005 1:26:46 PM

0

talking about this vs that

http://www.decloak.com/Dev/CSSTables/CSS_Tables_02.aspx

(even though this guy is obviously anti-CSS, he does make very valid points)
"If you make it idiot proof, they'll build a better idiot"
Webdev511
Asp.Net User
Re: a good url8/16/2005 7:51:26 PM

0

Wow, that guy REALLY hates CSS-P.

I think there his a middle ground between him being a hater, and what he sees as CSS purists. He dismisses accessablility far too freely. If he haver actually had to use one, I think he'd change his tune.

I personally belive that it's easier to create a page for print and screen without layout tables. If you have any information on your site that is likely to be printed, and you don't feel like creating a seperate page for print, having a css file per media type is far easier than making two pages.

A well tought out XHTML page that uses CSS layout & display is also far more friendly to mobile browsers. MS thinks its important enough to provide a tool kit for it.

Fact is that a majority of the know how and comon thinking requires tables. It's a natural result stemming from too many years of Netscape 4 support.

My personal opinion is yes, at least TRY to use CSS. If you come accross someone hitting your site with an older browser, tactfully inform them that thier browser choice may expose them to certian security risks. You do them a service by helping them stay secure and yourself a favor by promoting more standards compliant browsers.


Garth H
San Jose, CA
Microsoft Certified Professional
Macromedia Certified Developer
http://www.511th.com/
Dave Sussman
Asp.Net User
Re: a good url8/17/2005 8:34:47 AM

0

The real problem with CSS for layout is forms- the standard data entry type stuff. You can do it with CSS, but it's not very elegant. The world needs a better way to do it.

Dave
Elegabalus
Asp.Net User
Re: a good url8/17/2005 11:20:36 PM

0

For me, CSS is the preferred way of styling pages (in terms of color of backgrounds, font sizes, etc.).

In terms of laying out a page, pure CSS still has severe problems.  I've spent many an hour trying to work with CSS to get a pretty standard layout scheme (header, footer, 3 columns in the middle).  This is trivial using table layouts, but requires some very intricate work in CSS.  Granted, most of the work comes from Internet Explorer's poor CSS support, but try justifying dropping IE support to your boss, and see how that goes. :-)

I've found that master pages are the perfect way to get the best of both worlds.  Set up your table structure in the master pages, and use "proper" layout techniques in the content pages.  Since you mostly work in the content pages, you don't have to wade through a bunch of nested tables to make a small change to the HTML in the content page.
Overall, I'd say it's a good idea to get quite familiar with using CSS, but as in most things in life, take the people on the extremes of the argument (pure CSS versus advocates versus people that use 40 nested tables to display an image) with a large grain of salt.

7 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Adobe Creative Suite 3 Web Premium All-in-One Desk Reference For Dummies: All-in-one Desk Reference for Dummies Authors: Damon Dean, Andy Cowitt, Jennifer Smith, Christopher Smith, Pages: 882, Published: 2007
Master Visually Dreamweaver CS3 and Flash CS3 Professional: Dreamweaver Cs3 and Flash Cs3 Professional Authors: Sherry Kinkoph, Sherry Kinkoph Gunter, Janet Valade, Pages: 665, Published: 2007
Dreamweaver CS3: The Missing Manual Authors: David Sawyer McFarland, Pages: 995, Published: 2007
How to Do Everything with Dreamweaver MX 2004 Authors: Michael Meadhra, Pages: 432, Published: 2003
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: In One Hour A Day Authors: Laura Lemay, Rafe Colburn, Pages: 816, Published: 2006
Dynamic Learning: Dreamweaver CS3 Authors: Fred Gerantabee, AGI Creative Team, AGI Creative Team, Pages: 400, Published: 2007
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Foundation Website Creation with CSS, XHTML, and JavaScript: Design with CSS, XHTML, and Ajax Authors: Jonathan Lane, Steve Smith, Meitar Moscovitz, Pages: 275, Published: 2008
Heat Exchanger Design Handbook Authors: T. Kuppan, Pages: 1119, Published: 2000

Web:
Tables Vs Divs - css-discuss When we use tables for creating a layout, we lose the semantic nature of the ... counter to Real world tables:. I think divs have the upper hand... look a ...
Getting your DIVs to behave like TABLEs - Snook.ca Why would you need row, column spanning by using divs? Simply use tables what that is needed. I'm just sayin tables aren't for design. ...
Table designs based on CSS and DIV elements I have only used text to fill my example "tables" with some content, ... padding , border and margin widths, as specified for the DIV 's that forms the cell. ...
PICnet Blog » Blog Archive » Should I use tables or divs Divs I’ve been converting designs to Joomla templates for a lot of clients lately, and one question I’ve gotten from designers is whether to use tables or ...
Don’t replace tables with divs « Nervous Breakdown Nov 1, 2006 ... This is a big problem and exactly why I cringe whenever I hear “don’t use tables , use divs”. Everyone should be using semantic HTML and CSS. ...
CSS Drive forums | Tables or Div’s? What’s you opinion? My opinion: You should try to use div´s only. But if you need a real table, for example for sports-highscores etc. - then use tables ...
A List Apart: Articles: Practical CSS Layout Tips, Tricks ... Nested DIVs, nested TABLEs, what’s the difference? ... While it could be argued that this is an appropriate use of TABLEs, the CSS technique that I describe ...
glish.com : CSS layout techniques Design-o-rama at glassdog.com — This is where I first learned how to use ..... technique is that if any of the three content DIVs contains an image or a ...
web design: tables versus divs - HTML and CSS Re: web design: tables versus divs. Jul 4th, 2004. With divs, people can't steal your images if you use. Help with Code Tags ...
Darryl Lyons' Blog: AJAX Diary: Use TABLEs instead of DIVs Monday, May 29, 2006AJAX Diary: Use TABLEs instead of DIVs. I've recently come the realisation that DIVs are just too much hard work when it comes to ...

Videos:
Design Coding The Poetic Prophet (AKA The SEO Rapper) is back with another marketing rap. This time he describes how web standards and proper design can affect the...
Design innovation for Recording Studio. Helpful Handy Board Innovative Design, Handy Board for Recording Console, Multi Purpose, Ease Congestion, Bridge over Faders, A place for your keyboard and mouse or Lapt...
Simple HTML Design (speed) Please read i made a video about making a simple Html design with a .css file. If you wana learn about Html see my other 2 vids of showing you the ...
Developing JavaScript with Chickenfoot Google TechTalks July 25, 2006 Rob Miller Michael Bolin ABSTRACT Chickenfoot is a Firefox extension that embeds a JavaScript programming environmen...
Howto: HTML div 01 Please read I show you how to make a basic Design for homepages with the div tag. i also made it with tables it looks like the same here the link ...
How to create colorful, dashed borders in Dreamweaver This is a video tutorial on creating a colored, dashed (or dotted, etc.) border in Dreamweaver using DIV tags rather than tables. Kinda technical, bu...












embedded pdf with "please wait"

ad rotator dilema

dynamic title tag

directory structure and use of non-asp tags in master pages

i have used menu control in my project while loading that menu .. iwant hide some items

sitemappath question

using maintainscrollpositiononpostback with masterpage

global master page

storing data to the database using multiview controls

asp:menu and dropshadow

mimicking sharepoint’s menu navigation in asp.net 2.0

customizing the site navigation

error rendering control on all controls in visual studio????

accessing controls on a masterpage

putting details view in insert mode by virtue of a link clicked to get there... ?

how to define master pages in asp.net 2.0?

more navigation problems

image on master page doesn't show

masterpage

using theme to define bordercolor for itemstyle on boundfield

how to rearrange the page in browser

passing a variable in an aspx page object

placing stylesheets inside content place holder

nested masterpages, css file and ctl00

tree view functionality

the page does not display the images in the runtime?

wizard activestep or moveto method won't navigate

asp.net menu performance issues

content/contentplaceholder question

menu control on master page displays behind content on child page

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT