Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Give me a history lesson?
Old 02-19-2007, 05:46 PM Give me a history lesson?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
In the beginning, God said "let there be tables," and it was good. But after a while, He got bored with His invention, and it rained for 40 days and 40 nights, and now we see posts with titles like "Want to transition from tables to <div>'s" and "Tables be gone - div question" and really lots more, but 2 examples should be enough.

What's confusing me is, we had divs way back when. So why didn't we use them? I realize CSS is only circa 2000, but CSS doesn't have anything to do with structure, it's about CSS. You still had to use <font color="red">this is stupid</font> inside of a table, so why didn't people just use divs from the beginning?

Seems that would have made plenty of people's learning curve easier today. Can anybody shed light on this mystery?
Learning Newbie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-19-2007, 07:55 PM Re: Give me a history lesson?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
CSS has to do with PRESENTATION of the content. CSS support by all browsers was pretty lax for a long time and you had a number of years already behind us where the only way to control layout was to jigger with tables. It was the ONLY control we had - and it was ugly and a royal pain in the patoot.

DIVs came along as an 'extension' of HTML 3.2 and back then you used things like <div align="center">. About all you could do with a DIV then was to block out your content. According to the notes in my old HTML 3.2 book, "very few browsers support ALIGN on anything other than headings and paragraphs" .. circa 1996.

The major problem was browser support.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-19-2007, 09:39 PM Re: Give me a history lesson?
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
LadynRed, should have known that with a title like yours you would be the first to respond.

I personally have conceded to tables on several occasions. My time is simply more valuable than to spend 7 hours figuring out how to do something specific with CSS that I know works with tables in all major browsers.

I agree that we are in a transition period however I don't think that designers should sacrifice good design/artistic ideas based solely on the tables vs. CSS debate.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 02-19-2007, 10:18 PM Re: Give me a history lesson?
Extreme Talker

Posts: 217
Trades: 0
Well..thing I hate about divs... I SUCK AT THEM. I really need some serious lessons on div/css usage, because whenever i have a cool design thought out, I try it with divs and whatnot and it causes me endless trouble.
__________________

Please login or register to view this content. Registration is FREE
Slick Nick is offline
Reply With Quote
View Public Profile
 
Old 02-20-2007, 02:31 PM Re: Give me a history lesson?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
There is no question at all that learning to go table-less has a heavy learning curve. Once you get a good grip CSS, it gets easier, it IS worth it. I know what the (mostly) IE bugs are and how to beat them so I code accordingly. I can lay out a site in CSS in far less time than it would take me to go back to tables ! The only time it takes more time is when I'm trying something I don't usually do.. but that's true with anything.

As for good design and artistic ideas -- I have FAR more creative leeway without tables !
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-20-2007, 03:00 PM Re: Give me a history lesson?
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Quote:
Originally Posted by LadynRed View Post
There is no question at all that learning to go table-less has a heavy learning curve. Once you get a good grip CSS, it gets easier, it IS worth it. I know what the (mostly) IE bugs are and how to beat them so I code accordingly. I can lay out a site in CSS in far less time than it would take me to go back to tables ! The only time it takes more time is when I'm trying something I don't usually do.. but that's true with anything.

As for good design and artistic ideas -- I have FAR more creative leeway without tables !
I hate to call you out Lady (and please, I mean it in the nicest of ways) but could you provide some examples of your most creative table-less designs? Perhaps I lack a proper understanding of the capability of CSS or perhaps it is just that I have learned so much with tables that I have a hard time feeling that CSS is less constraining.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 02-20-2007, 03:22 PM Re: Give me a history lesson?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Rather than link to "my" sites, and have google wrongly pick up on the links, I would suggest you head over to CSS Zengarden and have a look around. www.csszengarden.com. There are many designers there with more artistic talents than me
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-20-2007, 05:40 PM Re: Give me a history lesson?
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Those designs are stunning but I can't help but think I would be able to replicate them in short order using tables which I am more comfortable with. I don't think that a great graphical design really highlights the point your trying to make. (please understand that I am half-way playing devils advocate).

The quote you made that I should have quoted directly (rather than the whole post) was
Quote:
As for good design and artistic ideas -- I have FAR more creative leeway without tables !
My question then is how does CSS give you a creative edge over those who use tables? When I asked for an example (I suppose it doesn't have to be your own) what I would really like to see is something that someone could only accomplish with CSS alone rather than a mix of tables and CSS.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 02-20-2007, 11:35 PM Re: Give me a history lesson?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Can you 'stack' backgrounds with tables ?? Don't think so.. but I can with CSS and there won't be any images in the html either. I can manipulate the positioning of any background anywhere I please which is tough to do with tables. I've used the method on many occasions to turn my Photoshop design into a web layout - and my code stays clean and lean.

The most you could do with a table is put background image in the HTML on the body, then maybe put an image as a background of a table, then put images in the html on top of that in nested tables... and you'll be restricted in the way the images look because of the way tables work.

You might be able to come close to replicating a Zengarden layout with tables... but you won't be able to do it cleanly. The beauty of CSS Zengarden is that every layout is made of ONE STANDARD HTML file. The beauty of CSS is that you can get so many completely different looks by just manipulating the CSS file - and never touching the HTML code - which is the whole point of Zengarden.

Maintaining tables, changing layouts with tables.. all a nightmare - you have to change EVERY SINGLE PAGE. With CSS, I can change the design of an entire site by changing ONE file.

I know what the challenges are.. I've been building web sites for over 10 years. I used to use all the 'table tricks'..many nestings, all those spacer gifs.. a gazillion "slices" of an image to piece together a design - what a nightmare that was.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 12:33 AM Re: Give me a history lesson?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Republikan if you're looking for a site that shows a purely creative edge to css check out the CSS House and the CSS House 2. Note that neither house uses a single image and then think about trying to do that with tables and no images.

If you want to see some practical examples of css sites you can check the ones in my portfolio on my site. I'm not putting them up as great creative examples, but they are all css, including my site itself.

There are more creative possibilities with css, but I also think once you work enough with css it's faster to build a css layout and it's absolutely easier to maintain. CSS when done right creates less code and lighter files due to less reliance on images.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-21-2007, 01:49 AM Re: Give me a history lesson?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
At the risk of tooting my own horn (when I only mean to provide an example) I don't think the gradient I used here can be done with tables:

www.lightenupontario.ca (left and right side of the page). Keep in mind that the bottom gradient only shows up at the bottom of the page, regardless of the length of the page.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 02-21-2007, 02:50 AM Re: Give me a history lesson?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
That CSS house example is pretty amazing. I've never seen something that detailed with no images. Although in fairness, the second one is 200+ KB of html code. It demonstrates something that can't realistically be done with tables, but the CSS approach sometimes uses more code as its cost. A photo corners tutorial I read used one div for each corner and then another for the image itself. Almost everything is in the css, so the markup was just lots of divs with classes ... some techniques demand a lot of divs.

They're still a big step in the right direction. The galleries on my site are still a bit "under renovation," but if you look at my Seattle night photos gallery, it used to be a table with three columns for the thumbnails, which meant you need 1024x768 or better to not scroll, and if you have much higher than that, it was a waste, and you would scroll up and down more than necessary.

With tables, I could get around that by setting up a different version of the pages for different screen resolutions, and then use javascript to redirect people to the appropriate copy ... but with divs, as you resize the page, the content flows into place.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 02-21-2007, 08:10 AM Re: Give me a history lesson?
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Great examples guys/gals. Thanks for putting up with me.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 02:03 PM Re: Give me a history lesson?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
First off, thanks everyone who contributed to this thread. Even though it's purely academic, for me at least, it helps me understand the situation today to know how we got here.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Give me a history lesson?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.68946 seconds with 12 queries