The Lizard Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsCommunityThe Lizard Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 24th, 2003, 11:49 AM
iahmed iahmed is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: USA
Posts: 171 iahmed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 58 sec
Reputation Power: 6
Question A Question to Web Developers

On the other day, I was reading an article on the Site Point, Designing without Tables, using CSS

I am not a professional web designer or developer, so, here are my questions to gurus of this area.

What is the best approach to design a professional web site?

Is CSS is the best? or XML/XSLT etc. approach is the best.

Please also explain with a few words to your answer.

Thank You.

Reply With Quote
  #2  
Old September 24th, 2003, 12:09 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Check out the Web Standards forum for a couple of threads on this very topic. My personal thought is that it's usually best to try to stay near that cutting edge. I've therefore shifted my coding so that it adheres much more closely to XHTML than previously (if it's not quite perfect yet). I've also picked up the ball and run with stylesheets. You have but to take a look at www.csszengarden.com to see how versatile they can be.

Reply With Quote
  #3  
Old September 24th, 2003, 01:51 PM
rdoekes rdoekes is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Strasbourg, France
Posts: 181 rdoekes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 20 sec
Reputation Power: 7
Send a message via AIM to rdoekes Send a message via Yahoo to rdoekes
good ol' tables

I have a little different slant to this. I work mostly server side, where I keep the client side generated code to an absolute minimum.
The requirement I hear the most from clients is that their site also needs to be viewed by not so up-to-date browsers on 56K modem (preferably 28.8K). This means that, most of the time, I do not use the latest technology when it comes to client side scripting and styles.

I am all in favor of table less designs, but for me to make a web forms nicely aligned, I usually grab tables (or more recently the table control in ASP.Net).

I am a big fan of using style sheets to give an entire application the same look and feel, but I have not given up on the ol' html tables yet.
__________________
- Rogier Doekes

Reply With Quote
  #4  
Old September 24th, 2003, 02:58 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Yep, tables still seem to be the best for writing complex forms. I'm putting the finishing touches right now on an app that actually looks rather like a Microsoft app. While I was able to do this using CSS, creating tabs and subforms using DIV tags and a combination of absolutely and relatively placed layers, I still use tables within each positioning/styling div to align the form elements. So it's a happy mixture. I wrote a class that outputs the div and table code on the fly for me, but a designer could come in and change all aspects of the app's appearance simply by fiddling with the stylesheets.

Reply With Quote
  #5  
Old September 24th, 2003, 04:23 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 236 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 50 m 36 sec
Reputation Power: 7
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
CSS is much better then Tables for design and CSS positioning is relatively easy to pick up.

On the site that I am working for it uses tables, but only for displaying information, not design. They are also still teh best way for complex forms as was metioned by others

Another route to go might be using photoshop. I have no experience with it but it is one of the things brought up in the web standards (or maybe web design, not sure) thread
__________________
CHornJr
"One day I'll know what I am doing"
My Blog
Suanhacky Lodge #49
Rebel Squadrons

Reply With Quote
  #6  
Old September 26th, 2003, 01:16 PM
Celal Celal is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Turkey
Posts: 12 Celal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: A Question to Web Developers

Although you say: "here are my questions to gurus of this area" and I do not consider myself as a guru at all, if you haven't already done so, I suggest you download the free chapres of Designing without Tables, using CSS.

As regarding to your question, as far as I know, XML/XSLT are mark up codes that browsers can read and render whereas CSS defines the styles of these.

So the question: "Is CSS is the best? or XML/XSLT etc. approach is the best" does not apply. You could ask such as "is XML the best or HTML or XHTML". If you put CSS in this question, you would be mixing apples and peaches.

If your question is regarding CSS and design without tables, I personally belive that CSS is too fresh to leave the table approach. Even though I'd prefer to use CSS than tables, if I am to address all browsers, I still have to use the table approach.

Reply With Quote
  #7  
Old October 1st, 2003, 07:26 AM
blackadder blackadder is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Netherlands
Posts: 1 blackadder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Tableless design?

Iahmed,

In general I don't like dogmatic approches. I do support efforts to support cooperation in general. In my opinion, the standards from the W3C do exactly that! They provide for a set of rules which can (!) assure developers that their users will be able to use their content. Furthermore, their aim is to reach an interexchangeble web (forgive me my language!), with functionality which can be reused (latest technologies) and so on . . . .

All this may seem wonderfull, but the real world is not. Browsers are made by vendors which all have their own interests. Browsers are used by users which all share one common interest: they want to be able to browse the internet, use (extended) http functionality, do anything they need to do, without being bordered by technical stuff. And they certainly don't want anything to do with developers and other aliens!
On top of that it is a good thing for all developers to realize that ordinairy users are the kings of the IT-universe and they are certainly kings of the internet!

So for myself, although I strongly support W3C standards, I will use tables if I think tables will help reduce problems for my users, or help meet my functional requirements in general!!
I want to stress that tables do not necessarily have anything to do with breaking CSS. Thay can perfectly fit in a design which complies to the rules of W3C's CSS. The concept of a table relates closely to the human concept of ordering information. That's why I think, that from a functional point of view, tables can be then best option when it comes to present the user with ordered information. Especially when you want to combine functionality, like presenting readable information in updatable form elements.

So, to answer your question, there is no best approach. But if you carefully consider the intended functionality, combine a pragmatic approach with a desire to be standard complient and most importantly, keep in mind that the your users must be served, you may espect your choices to be satisfactory.


Hope this helps.

Reply With Quote
  #8  
Old October 3rd, 2003, 01:56 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Well said blackadder!!! My thoughts exactly.

Reply With Quote
  #9  
Old November 6th, 2003, 06:25 PM
numbernine numbernine is offline
Up To His Eyes In Ads
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Chicago
Posts: 160 numbernine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 25 sec
Reputation Power: 7
I agree with blackadder as well. Tables and CCS are far from mutually exclusive.

As to whether to place content in CCS-positioned divs or in tables....there are just too many people with too many wack-ass out-of-date browsers to move away from tables.

I know where I work if I got a frantic call that such-and-such board member couldn't see a site I developed, me suggesting that such-and-such board member get a W3C-compliant browser would not go over real well.

However, I do think developers will move more and more towards doing as much presentation as possible through the stylesheet. It just makes life so much easier. I've been working on our staff intranet at work and using divs and ccs, I successfully implemented a complete round of changes from our designer without touching any of the pages I'd created...

Reply With Quote
  #10  
Old December 3rd, 2003, 12:17 AM
INF INF is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Woodland, WA
Posts: 26 INF User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I agree with blackadder too. Good points.

I'ts almost as though we read "table-less layout" and think we have to ban tables. Tables themselves aren't banned, it's using crazy table hacks and deeply nested tables that's frowned upon. Stuff like one row with two cells, and the next with one cell set to colspan=2.

I think CSS is definately where it's at. It makes the code so much more readable, accessible, and easy to change. Personally I think it makes content MORE accessible to older browsers, as really old browsers will just display the content. The key is to make the page display nicely with, and without style.
I've found very little that can't be re-produced using <div>'s, including forms. Maybe I'll post a simple form setup using divs in the Web Standards forum.


And numbernine, I would imagine that such-and-such board member is probably using IE or Netscape. Both which render CSS. The trick is to write CSS that both browsers can render (which can definately be tricky). You're right though, it's all a matter of your audience/client. If most of your users are using an older version of Netscape, and the boss wants it to look exactly the same in an old browser, you may not be able to give up those <font> tags and <table> widths.

XML is more of a data format and XSLT is what displays that data. Similar, but very different than CSS. XML is very useful to transfer data between different platforms. Most big professional sites use some sort of Server-Side scripting language backed by a database to store data. And I would bet that if they're not already using CSS, they will be very soon. The benefits far outway the downsides. ESPECIALLY when a redesign comes around.

Reply With Quote
  #11  
Old December 4th, 2003, 07:49 AM
wAr-AnGeL wAr-AnGeL is offline
Forum Security
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Behind You
Posts: 479 wAr-AnGeL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 50 sec
Reputation Power: 7
Send a message via ICQ to wAr-AnGeL Send a message via AIM to wAr-AnGeL
I do think in the future CSS tableless designs will become more and more widely used. Creating one standard that all sites should comply to is the perfect solution to solving the cross-browser incompatabilities we face today. As long as we have a standard companies like Microsoft, Netscape, etc will slowly make their browsers compliant to this new standard. I myself do not like how Microsoft IE has alot of it's own CSS tricks that are not compatible with other browsers.

I myself would certainly like to start using CSS tableless designs, however I find it hard to make the change. Designing the past few years with tables has made it a habit hard to change. Most users probably find tables much easier than CSS to make their design look the way they want it to.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsCommunityThe Lizard Lounge > A Question to Web Developers


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT