justuptime.com - monitor your servers & websites

CSS and Table combinations

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.
demonhale's picture

He has: 3,195 posts

Joined: May 2005

CSS and Table combinations, is it ok???

I actually ponder this because before table was the mode of layout design for webmasters, complete with spacer gifs and the like, now the best mode for layout and may well be the standard is css... Now if a page employs tables for dividers, and css for its style, would it be helpful (yes i think) if you employ both??? more on css though coz the table functions only to keep the divs together...

Renegade's picture
Moderator

He has: 2,943 posts

Joined: Oct 2002

I wouldn't have too much of a problem with it. Sometimes, the only way to make a specific design work is to use tables...

Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces

timjpriebe's picture
DeveloperModeratorSponsor

He has: 2,666 posts

Joined: Dec 2004

I've had to use it in the past, though currently I try to avoid it whenever possible. Of course, you can always cheat and not have the actual table in the HTML, but have some of your code display as a table using CSS.

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

Yes, that's perfectly fine under HTML 4.01 and xhtml transitional. I would add that for someone in your position it might be easier for right now to do it that way while you work on improving your html skills.

demonhale's picture

He has: 3,195 posts

Joined: May 2005

Before I Transitioned to css, I didnt know I was using the same principle when I first started with html and javascript, I was using divs like an addict in positioning stuffs, but I wasnt using the seperate style sheet and wasnt aware that i was basically using css, then I went to this website were when i selected text i noticed it was divided like a grid, so i figured this would be a good idea which was for a long time was used by other webmasters, so i tried table layout, it was cool for a while until i discovered pure css is better.

Maybe as a natural evolution I tried to formulate code combinations that would help noobs like me figure out css a little better, thats when i figured to use table codes to wrap up divs in an html document, I was surprised to generate a clean layout which was cross-browser compatible as well as easy to insert text and other info too... I figure that not only is this effective but fast...

albeit I still like to use pure css...

CptAwesome's picture
Sponsor

He has: 370 posts

Joined: Dec 2004

I think using pure CSS tends to be a bit overrated. I use a LOT of it, but mostly for style/appearance, but positioning of elements I rely primarily on tables. Not because I don't know how to use CSS, certainly not, but I find with CSS/DIVs I spend a lot of time in the position: absolute/relative float:left/right etc, where with tables, I know where they are going to line up and how and in general I have found the code to be shorter. Though I use much more traditional layout methods, the 3 column method is a favorite of mine.

I guess the main thing people use it for is making their layouts more flexible and dynamic, but I have a custom made template switcher for my site, with 4 layouts showing the content in varying ways. True that the positioning is similar, but of course somethings content determines form.

http://www.notian.net/?theme=classic
http://www.notian.net/?theme=historic
http://www.notian.net/?theme=dotnet3
http://www.notian.net/?theme=dotnet5

<? echo implode('',explode('|','A|W|E|S|O|M|E')); ?>

http://www.free-online-web-tools.com

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

True CSS layouts are not overrated, I was a rubbish designer before I started using XHTML/CSS, now I've achieved the heady heights of: "Not quite as rubbish."

As for your dilemma I can't understand why anyone would want to use a table for layout... Tables are for displaying data in a tabular format! Why learn something wrongly because it's easier? That makes no sense! Laughing out loud

Do it right, right first time. Just try not to run before you can walk, keep it simple and don't go beserk with advanced layouts etc.

a Padded Cell our articles site!

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

I think a lot of people tend to get bogged down by the learning process with CSS layouts. We all had to do the same thing with tables back in the day. Remember all the work arounds and the NN4 irregularities? Similar sort of thing, just moving towards a better way of doing it. Once you get used to working with CSS it's really not any different than using tables, and it does allow for more flexibility in layout (not to mention a more modern look!).

CptAwesome's picture
Sponsor

He has: 370 posts

Joined: Dec 2004

I've done solely CSS/div layouts, I'm just not a fan of the coding.

<? echo implode('',explode('|','A|W|E|S|O|M|E')); ?>

http://www.free-online-web-tools.com

She has: 72 posts

Joined: Sep 2001

I would love to stop using tables, but I find that CSS positioning is so irregular and I frequently spend hours trying to place something (less than successfully) that would have taken 5 minutes to position with tables. I find it hard to convince myself to keep trying.

Roo's picture
Developer

She has: 830 posts

Joined: Apr 1999

Personally I find nothing wrong with tables and still use them along with CSS. You can position things inside table cells or even outside of the table itself with CSS, so you can use CSS 'layering' effects just fine with tables.

BTW...I've found that using a screen ruler helps take the guesswork out of positioning, I'm using the free JR Screen Ruler which displays horizontally on your screen.

I haven't found one yet that displays both X and Y...but I'd love to since it would be very handy.

She has: 72 posts

Joined: Sep 2001

Oh, Tina, don't you love that little program? I found it about six months ago and it's really helped take the guesswork out of positioning! As for vertical positioning, when the ruler is on top, scroll the wheel on your mouse--it does rotate. Also, if you don't have the scroll wheel, right click on the ruler to get a pop-up menu that will let you rotate, or use page-up, page-down. At least the paid version does...I don't know about the freeware version.

Roo's picture
Developer

She has: 830 posts

Joined: Apr 1999

Hey cool....I'll check out the paid version... but still I'd love to see a screen ruler that displays like the rulers in Photoshop both X & Y ya know?!

He has: 495 posts

Joined: May 2005

My son loves CSS, I am an old dog and I like tables and html (maybe with a little style thrown here and there).
It takes him two or three times as long to build a page as it does me. Also if you want: do a little research on the web you will find CSS has far more compatibility problems then does html 4.01 trans.

This was the reason for 4.01 transitional, but most people use it wrong. 4.01 is not meant to be used with full CSS. But to provide a cross platform to accommodate older browsers, thats why you get by with older codes on html 4.01 where strict will not let you. Also the use of DIV is not really correct on 4.01 because older versions of netscape don't see it. So if you are going to use full CSS, you need to go 4.0 strict or XHTML.

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

Nobody uses the old version of Netscape anymore, I really believe the days of old are long gone and we can all use CSS/XHTML in earnest. Personally CSS is quicker than tables, but that may be because the entire process is done with this in mind.

And are there more compatibility issues with HTML 4.01 Transitional Vs XHTML? Screen readers - for example - don't handle tables very well and it doesn't degrade as well as vanilla XHTML with a CSS layout

a Padded Cell our articles site!

Busy's picture
Modrater

He has: 6,148 posts

Joined: May 2001

Roo, there is one called screen ruler (of all things), is horz or vert with a slide of a mouse, a bit like the tool options in PSP but a lot less trouble to postition. Also sits anywhere on your screen. I think I still have it on my old puter, I'll try dig up the file or homepage for you. (is/was freeware)

I wasn't going to comment on this thread, but can't help myself Laughing out loud (I did hold out a while).
I think one of the biggest things about CSS layouts is they are very boxy, apart from cssgardens and the rounded css tutorial I have never seen a un-boxed layout. Most layouts you can tell are CSS just by looking at them, as you can with frontpage layouts.
HTML was never used to it's full protential as most people used editors that limited it's use, now CSS is here there are no limits and people think it's a lot stronger. It is more advanced (it should be it's newer) but similar results can be achieved very easily with HTML.

Also the mention of NN4, I wonder why IE5 hasn't been mentioned or NN6 which can both be troublesome browsers.
Screen readers can perfer tabled layouts if the layouts are done properly (using summary, titles etc), postioning with CSS can have the source all over the place so the contents can still be read back to front or in wrong order - A very simple layout (CSS or tables) wouldn't be a problem, just complex layouts)

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

demonhale's picture

He has: 3,195 posts

Joined: May 2005

Make your own template html and css, you may use css and table combinations... The advantage with css is that you can maintain uniformity with pages using a single CSS, your site also loads fast because all those extra codes for pics, colors and other custom settings you build is on a seperate file, which once loaded, next pages using same css loads in a click... Also when changing color schemes and the like (fonts, colors, bg), its faster to do it in css, you just edit the css and you wont have to mess around with your html file and everything is changed...

demonhale's picture

He has: 3,195 posts

Joined: May 2005

If you mean placing the Style Sheet at the header of your html... Its quite ok, only drawback is that you cant link to the stylesheet from a seperate html file... You could Copy and paste it though... Try it out and Read about it by searching... many Tutorials online had helped me, I forgot their links...

He has: 495 posts

Joined: May 2005

I personally have found no need for CSS. I use a little in my header to set BG color, type color, and style. And for my links, you can do such cute tricks with it. But in general I don't construct mega page sites, and change is only occasional. I was quite a while becoming truly proficient with html, and can't see the time required to learn something over again, that basically I can already do.

I agree with whoever said you can tell CSS at a glance, it is always boxy, and has that looks the same appearance. But when I first started using html, I only constructed straight line pages for quit a while. Which all look the same. So the answer to this is if you become truly proficient with CSS, maybe that looks alike style will eventually fade away. Or is it monkey see, monkey do, non imaginative page building that is responsible for this. Laughing out loud

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

steve40 wrote: I agree with whoever said you can tell CSS at a glance, it is always boxy, and has that looks the same appearance. But when I first started using html, I only constructed straight line pages for quit a while. Which all look the same. So the answer to this is if you become truly proficient with CSS, maybe that looks alike style will eventually fade away. Or is it monkey see, monkey do, non imaginative page building that is responsible for this. Laughing out loud

Tables are boxy too though. There's no difference. People have just learned to hack around the table structure by chopping up images to make it look less boxy than it is. Does that mean it's a better way to go? Not necessarily.

About CSS sites all looking the same - it's more of a design trend that's been spurred by the use of stylesheets IMO. (Alright, I'm offended because my site does look like that Wink ) But really, tabled sites often look the same too. Sites of certain genres look the same. News sites look the same, sports sites look the same. It's just trends. And sometimes trends become popular for a reason - because they work. Nevertheless, CSS designs are more likely to look current and modern than tabled designs.

And so what if designers aren't widly creative? That's not what design is about - it's about making something that works. Designers are not artists.

timjpriebe's picture
DeveloperModeratorSponsor

He has: 2,666 posts

Joined: Dec 2004

Megan wrote: Designers are not artists.

Well, some arent. Laughing out loud There's a time and a place for that sort of thing, of course.

demonhale's picture

He has: 3,195 posts

Joined: May 2005

I read somewhere that tables was first concieved by artists, especially layout artists when they discovered that with simple spacer gifs and the like they can layout pages properly. It became a widespread phenomenon that some guy made money out of by claiming he discovered the principle and published a binch of books... Now the layout thing was made important because first web designers were usually from print media and they wanted the look of web pages more like the way it appears on paper... Now the advent of CSS introduced these designers to a new way of thinking, they can now purely concentrate on designeing than coding... they could manipulate look of pages much easier. Tables was initially really used in web pages as a way to represent tabular data, by evolution CSS was introduced as a layout code...

Therefore whatever it may be, a hardshell way of learning as a continous cause is to learn something that is way to the future, if you know html, or any other codes, whatever you may deem it useful is your choice, but having in mind that you can use CSS as a way of layout technique is a plus, incase you needed it... Dont be one tracked, explore and learn more while you live...

He has: 495 posts

Joined: May 2005

Quote: Nobody uses the old version of Netscape anymore, I really believe the days of old are long gone and we can all use CSS/XHTML in earnest. Personally CSS is quicker than tables, but that may be because the entire process is done with this in mind.

I don't know about others, but I get quite a few hits from older browsers.
Netscape 4.0, windows 4.0, Opra 1.0. and even (shudder) WEB TV!. So old is not completely gone. This is the very reason for html 4.01, the need to accommodate older browsers is still there. I even had a hit from windows 3.5 not to long ago. You would be surprised what old ancient crud people still run.

Even me I run Widows ME, with a Athalon 600 AMD Thunderbird chip, on a network server board. And it suits me just fine. I keep windows stripped down, and out-strip the other two 1gig Intel computers here regularly.

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

I think the CSS Zen Garden is a great place to look for the benefits of a CSS layout. Sure, the basic structure is boxy, and on that level there isn't a huge improvement over tables. However, once you look at the variation in designs on that site you can really see what's possible. CSS layouts are the way of the future and it's a good idea to be prepared for future techniques. If SVG is ever implemented to a usable extent there will be an explosion of possibilities.

Even if you are using tables, you need CSS to control individual cellpadding - something taht wasn't available years ago - and all of the specific styling changes. So why not change it all over to CSS? A little learning now will allow for more flexibility and preparedness for the future.

I also strongly believe that it is the duty of webmasters to support the w3c standards. If we don't go along with what they recommend then they have no credibility and we have no standards. Sure, it's okay to use tables for now, but that won't always be the case.

ETA: I also think it's easier to make a modern looking design with CSS. Tabled sites often look outdated now.

They have: 168 posts

Joined: Jan 2005

I think that you shouldn't combine the two codes; it can get rather confusing. If I were you, I'd just use CSS. Wink It's a bit harder to learn, but it's a lot faster and easier IMO. Smiling

Or you can just use basic HTML. I wouldn't suggest combining the two, unless it was just like a combination of mostly one or the other - not half and half. Wink

I'll quack like a penguin, and sting like a flee.
eGaming Supply MMORPG Services - MMORPG Marketplace

Busy's picture
Modrater

He has: 6,148 posts

Joined: May 2001

IMO CSS is easier to learn that tables, I remember having a heck of a time trying to remember what rowspan, cellpadding/spacing, alignment in which section does what ... at least with CSS it will usually work or it wont, with tables you can get different results.

You want me to put that colspan where ?

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

lol Busy, funny you should mention that... I had to fix a table built site this week that someone else had built. Absolute nightmare - and not just because I couldn't remember much about tables!

The really annoying thing is that lack of flexibility, how do you change an aspect of the design when the layout is defined in each HTML page (by the HTML), and as you pointed out what a pain colspan/rowspan etc is!

a Padded Cell our articles site!

Busy's picture
Modrater

He has: 6,148 posts

Joined: May 2001

JeevesBond wrote: The really annoying thing is that lack of flexibility, how do you change an aspect of the design when the layout is defined in each HTML page (by the HTML), and as you pointed out what a pain colspan/rowspan etc is!

This comment always comes up when discussing tables/CSS and I always wonder how many times they actually change a sites layout. A lot of sites get updated, sure, but even if was just CSS would still need to edit every page to add/remove sections. Database driven CSS sites may not need to be as much but an static site would, same as the tables layout.

Updating with CSS = very easy, Upgrading/redesiging = time consuming (involves copy and paste or search and replace) with both CSS and tables

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

I have been originally taught in tables and unfortunatly stuck to it for too long, I use css for some minor text control and effects but thats it, the problem is my sites are all dynamic, and are rebuilt each time the page loads, this enables me to use the admin program to change the layout, design and content via admin. no one element is fixed, That said how could I do the same using CSS as you cannot edit the css file in the same fashion? any one had any experience with this, and if so is it worth it for me to change over?

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

I guess I will have to take the time to learn the full extent of the ability of css and how I could manipulate it, is there any draw backs in having the style in the headder? that way I could build a librady of styles and only have the ones I need included via code

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

I guess it just depends on the type of site that you are building, from what I understand CSS is good to CSS developers, yet others like myself who have used tables an such for a long time for layouts will swear by that method.

Can anyone say that using just tables or useing CSS is wrong? Remebering opinions are just that. I have looked over CSS and its abilities and found it to be relativly powerful but I would have a great deal of trouble to implement it into a content management system, that was truly dynamic, remembering that the user can change font, color, size, effect, position, layout, image etc etc for each line or content area, this would mean that they would have to write to the CSS file each time they updated or that we only give them the option of using the CSS styles we have created in a library. Yes it could be done, but not sure a. if it would be worth it, b. if it would be better.

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

He has: 495 posts

Joined: May 2005

As far as I can tell the only people that say tables are wrong, are CSS addicts. Tables were used for lay-outs long before CSS was even thought of. So who is to say which is right or wrong?. I don't go around giving CSS users a hard time about their choices, so why should they give those of us who prefer tables a hard time.

Must be some kind of a cult atitude. If tables were wrong W3C would not validate them, but they do. When I position something in a table I know exactly where it is going, I cannot say as much for CSS. CSS also has far more cross browser problems than html. So keep your CSS, and I will be very happy with my TABLES. Smiling

He has: 495 posts

Joined: May 2005

I think this is the very head bashing stuff I mentioned before. It seems we live in a world, where everybody is supposed to think alike. Well I don't, and don't intend to. Never have, and never will. I also think I have better things to do, and better places to go. Remove my membership from this forum please.

He has: 495 posts

Joined: May 2005

Debate is fine, opinions are what make us individuals. Without them we would all be in trouble. But debate can become so opinionative, we seem to try to impose ours on others. I would ask for your forgiveness on my part, I used to live with a woman who “Debated” 24 / 7, and it made me a little over sensitive to debate; I suppose. Smiling

I don’t mind opinions when I posted my site for review, I did not get upset with the negative ones. I considered the suggestions made, and weigh them out against the purpose I had in mind when I laid it out. I set out to make a simple, and rather plain (dull) looking site. Some of the suggestions, although good would have taken away from that.

Most photographers are conservative people, and they are my intended audience. If I had made some of the changes, then I would have caught flack from that side about it. So I left it as is. It would not have made any difference to them if I had used tables, or CSS. I have honestly looked over CSS, and since site building is not my primary hobby, I cannot see putting in the time, and effort to learn something over again. So I used the method I do know. After all anything that goes into a table, could be considered tabled information. So I guess it all depends on how you look at it. All these diffrent browsers that have no standard, are the real enemy I suppose. Smiling

PS. You have to look at the quote attached to my signature, that pretty well says it all.

They have: 11 posts

Joined: Jun 2005

JeevesBond wrote: Nobody uses the old version of Netscape anymore, I really believe the days of old are long gone and we can all use CSS/XHTML in earnest.

The only way to know for sure is to have a peek at a high-volume site's (like Yahoo) stats to see what percentage of their users still use older browsers.

Having said that, I tend to agree as it applies to my situation. If I were getting 1000 visits per month from any browser that incapable of rendering CSS, I might consider my options. But I'm getting less than enough to suffer any major cosequences that might result in their exclusion. And some of those should still be able to view the textual material.

I am a CSS convert. It is more time-consuming, it is more difficult to understand (especially postitioning), it is not compatable with older browsers. So, why do I use it?
For one, I was able to get the design I wanted with CSS and because as JeevesBond said:

JeevesBond wrote: Tables are for displaying data in a tabular format! Why learn something wrongly because it's easier? That makes no sense!

.

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

Tables were used for layouts back in the day because there was no alternative. There was no correct way of doing it so people had to use work arounds and hacks. Read the w3C recommendations. Read Zeldman. Read the Web Standards project. Tables are not and were never the correct way of creating a page layout. Period.

They validate because they can't not validate. A script has no way of knowing whether you are using a table correctly or not. It can only find technical problems with it. That said, tables used for layout ARE accepted in HTML and xHTML transitional but after that CSS should be used for all presentational markup. That means layout.

They have: 11 posts

Joined: Jun 2005

I haven't written anything that says I'm against tables, but I agree with Megan.

And I don't live in a compound full of weapons and never have I thought that a spaceship hid behind a comet, come to take me away...ah hah, hee hee

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

I wouldn't say I'm "against tables" either (nor am I a "CSS Addict", BTW). Actually, I'm working on a project right now where I have been forced to use tables for layout (CMS issues). It happens. This is a transitional period in web development but we're at the point now where tabled layouts should be the exception and not the rule.

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

Well I am a self-confessed CSS addict so can't resist this topic... The reason people used tables was because the guys who invented the net were not graphic artists - they wanted to pore over scientific data all day long!

These people also did not predict how fast the net would catch-on, where people are (especially affluent middle class people with money to spend and time to kill) the companies follow. The companies want their branding on web sites, so a clever designer finds a way to use tables to make sexy designs one day and the rest is history (okay, so I made this bit up. But it sounds good and isn't that far from the truth).

Fact is that tables were invented so the geeks could display their scientific data in a tabular format, and that's why you're wrong Steve: Tables were used for displaying data in a tabular format way before they were used for design. That's what they were meant for in the first place and now we have other - better - mechanisms for formatting they should return to their proper place. Laughing out loud

a Padded Cell our articles site!

Busy's picture
Modrater

He has: 6,148 posts

Joined: May 2001

dataNdesigns, tables were orginally designed to display data, (or so they say) things like this forum are wrong as the tables control the layout of the data not just the data itself.

I personally don't believe tables are just for data, or they would of been phased out at HTML 3 or 4. It's like when Henry Ford invented the model A, it was meant to be away of replacing the horse and cart. It wasn't designed for what it is used for today. Model A's now are in all shapes and forms, drag cars, hot rods, custom ... with some still in orginal conditon.

When tables were created the option of using bgcolor and later backgrounds so they were intended for "show" not just display. Then Microsoft came in on it and brought out IE only stuff, like bordercolor etc. Later on thead, tbody etc were added. Tables have always been updated, summary="" for example is a classic element for a design table (helps screen readers and text browsers tell whats where).

The table/CSS debate will always be around, it's like the Netscape/Internet Explorer debate that even still goes on today, although now it's Opera/Mozilla/Netscape/Internet Explorer

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

Busy wrote: The table/CSS debate will always be around, it's like the Netscape/Internet Explorer debate that even still goes on today, although now it's Opera/Mozilla/Netscape/Internet Explorer

Yes, Busy, it's exactly like that. Because NETSCAPE died a long slow death. There was a lot of arguing along the way, but eventually the better alternative won out. Sure, lots of people held on to the old ways for a long time. Nothing wrong with that, although in that case it did hold us all back for a long time when it didn't need to. Now it's IE that's holding us all back. Will it ever die? Maybe, maybe not. Will tables ever die? Maybe, maybe not, but there is a better way Laughing out loud Some will be in the leading edge - we were the first to swtich to IE, the first to switch to Mozilla/Opera, and the first to switch to CSS. Not everyone needs to be first Smiling

Busy's picture
Modrater

He has: 6,148 posts

Joined: May 2001

Megan wrote: Yes, Busy, it's exactly like that. Because NETSCAPE died a long slow death.

Died a long horrible death, pffftttt. Back in the NN4 days Netscape was the leading browser as far as specs goes, was way more advanced than IE was, if anything it was beyond it's time (remember who gave us tables), then NS wanted to advance further with JSSS (forget if it was two or three s's), which was an advanced form of CSS but the other parties pulled the plug as this would of given them the leading edge over IE. NS4 is set up for JSS and has some great things. NS did a dang good job of accomadating CSS in the very short time it had. Depending what/where you read, the stories even say Bill Gates paid the partiess off not to except the new JSSS (no real proof of that, just here say).
CSS is good but is what they tried to do way back then. NS did hang itself with version 6 and never really recovered, until now but IMO have left it to late with Mozilla taking over where they left off (remember mozilla is made by Netscape coders).
Switching to a new thing isn't always a good thing, if not fully supported. Look at web hosts, most wont enable beta version software and waiting for an apha version can sometimes put them a version or two behind, PHP5 being a classic example.

Fact: Tables are designed for layout (just not badly nested layouts)
Fact: CSS is great for basic layouts (to be compatiable on all browsers), but can be troublesome if to advanced.
Fact: there is nothing technically wrong with using tables for layout under HTML 4.0 and xHTML 1.0 transitional and XHTML Strict (just needs CSS for alignment)
Fact: current specifications *are* trying to guide us away from tables because of the people in charge - look into who is running the show and what 'other' interests they have.

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

Steve, its just points of view, I dont think anything said here will have any real impact on what acctually happens. As for the real world, everyone can debate all they like, but as busy said its just like the differences between browsers, I for one find your input worth while and would had to see you leave over an opinionated topic.

CSS is a good option for those who use it, the others who use tables just so, tables are supported and I have yet to see anything else other than opinion that would lead me to think using tables in wrong. Ok so the CSS users tell us that it is better but nothing has ever proven that it is wrong, and while browsers, WC3 and the rest still support tables who really cares? I am an asp developer and I could have the same argument about perl programmers, but who is right and who is wrong?

End Of the day my sites rank, my clients are happy and I get paid, the rest is irrelevant!

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

demonhale's picture

He has: 3,195 posts

Joined: May 2005

dataNdesigns wrote:
End Of the day my sites rank, my clients are happy and I get paid, the rest is irrelevant!

Good point...
As to say, Table with CSS could work pretty well hand-in-hand...
I built my personal site with a mixture of all the coding Ive learned...
It even raises up temper, when I learn coding in this different forms in not more than a month... but then I have coded in delphi, Vb, C++, C, BASIC, and Motorola Machine Lang. Before... but I havent shunned away from any of them just because the other is better... I guess I thanked it that I learned from them the most that I can... It helped become a better programmer of somesort...
So please Steve... Be Cool...

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

Bah, me and my over-opinionated ranting! My apologies Steve, please ignore me, I just enjoy a good debate. Laughing out loud

I guess the thing I'm learning from everyones opinions here is that we all have different methods, they all produce slightly different results but if a site looks good and does what it says on the tin then who am I to argue...

a Padded Cell our articles site!

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

Fact: tables were never meant to be used for layout
Fact: CSS works perfectly well for layout
Fact:there is nothing technically wrong with using tables for layout under HTML 4.0 and xHTML 1.0 transitional
Fact: under subsequent specifications there *is* something wrong with using tables for layout
Fact: most (if not all) of the leading experts in the field moved to CSS long ago
Question: does everyone need to do the same? Does it matter?

So, what are we arguing about? Seems that we all agree but are looking at it in a different way. Bottom line is that tables are fine (for now at least). We're not all Zeldmans or Jeevesbonds Laughing out loud If you're not a code expert and have other things to worry about there's no compelling reason to switch. It IS something interesting to play with and to think about for the future.

Steve - we totally don't mean to pick on you personally. As I said at the beginning of this thread, tables are an acceptable way to build a site, especially for those new to web development:

Megan wrote: Yes, that's perfectly fine under HTML 4.01 and xhtml transitional. I would add that for someone in your position it might be easier for right now to do it that way while you work on improving your html skills.

IMO there are many more important issues in design than what method you use to code. CSS is good, you might want to look into it more in the future. But for now there's nothing wrong with what you're doing.

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

Wow, Megan did you just compare me to Zeldman? How I wish it were true... Well I suppose I'm working on it. Thanks though!

Good points Megan, and although I fight the XHTML/CSS corner vehemently your points are right. If customers are still paying, websites are still working the details of your methodology are somewhat moot. Smiling

Although I'd like to think I have a higher standard when defining "working." I like designs to look better than that normally achievable with tables, I expect code to be written in a certain way, I spend geeky hours with my head buried in the W3C specifications.

If your priorities are the same as mine then you'd do the same, but obviously you're not me so they're not! So if it suits use tables, I can't imagine a customer would make the differentiation.

a Padded Cell our articles site!

He has: 495 posts

Joined: May 2005

Megan.

I think a lot of it comes from the division among major web developers. Some say that tables were, and are for elementary management as well as the layout of websites. Others disagree. What few realize is CSS is not new but very old, and has never received general acceptance. But with the coming of so many new, and old browsers that display elements somewhat differently, CSS is less affected by this. Firefox for example has a problem defining table height, and it is not passable to use “height” in tables. But you can if it is on a sperate style sheet.

But you need to use one or the other, although you can mix CSS, and tables if you don’t know what you are doing it can become a disaster. There is one such page in the review section now. I don’t really know how it would look if correct, both IE and Firefox display it generally the same, “lord knows how I don’t”. But it is a classic example of a bad mix, with 185 page errors. He would probably have been better off to stick to his tables, although bad nesting is one of the pages major problems. Or maybe he just needs to go back, and learn something correctly. Either way CSS or tables, I imagine it would look a great deal better that way. So the bottom line is, what ever you know it is best to stick with it. There is no telling what the future may bring both CSS, and tables may become obsolete. Smiling

demonhale's picture

He has: 3,195 posts

Joined: May 2005

In the Case of Site Codes that do not validate and has a host of errors;
All I could smile about is I have this experience that a raw html code (not uploaded yet to a host) nor is live will validate well... If validation is the concern... But once uploaded it does not validate because of some codes inserted by the host (especially if free host). Then if coders sometimes hack codes to move a banner or something, validation really doesnt apply. But its Enough I say that the "raw code" validates...
Some example of a good CSS and Table combinations with a little javascript would be in uses like making menus, especially dropdowns... Dont you think???
Confused

He has: 495 posts

Joined: May 2005

But if you got rid of IE 90+% of your viewing audience would be gone. But be of good cheer, IE 7 is soon to be released, then you will not have to worry so much about 6. Laughing out loud

Busy's picture
Modrater

He has: 6,148 posts

Joined: May 2001

steve40 wrote: IE 7 is soon to be released, then you will not have to worry so much about 6. Laughing out loud

You sure about that? I remember when people were using IE5 and 5.5 and saying IE6 would solve all the problems ... Could just open up a whole new can of worms. Remember MS is loosing market share, it is in their best interest not to comply and go in their own direction

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

He has: 495 posts

Joined: May 2005

I didn't say it would solve any problems. I just said you wont have to worry so much, about IE-6. Laughing out loud

He has: 495 posts

Joined: May 2005

Actually from what I know, it will probably be worse. I don't exactly remember what I read about it, but seems that support for several things will be cut. I guess when you have the money BG does, you can make yourself as big a pain in the rear as you want. Smiling

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

steve40 wrote: Actually from what I know, it will probably be worse. I don't exactly remember what I read about it, but seems that support for several things will be cut. I guess when you have the money BG does, you can make yourself as big a pain in the rear as you want. Smiling

Oh, so did they change their strategy on that? For years they were talking about only releasing v. 7 with their new OS (which was supposed to be ready in 2005 sometime....) - so it wouldn't be available as a stand-alone to older versions. The majority of users wouldn't upgrade so we'd be stuck at 6 basically forever.

I'll have to look into this more tomorrow.

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

steve40 wrote: IE 7 is soon to be released, then you will not have to worry so much about 6.

So did they change their strategy on that? For years they were talking about only releasing v. 7 with their new OS (which was supposed to be ready in 2005 sometime....) - so it wouldn't be available as a stand-alone to older versions. The majority of users wouldn't upgrade so we'd be stuck at 6 basically forever.

I'll have to look into this more tomorrow.

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

Google uses tables on their site, microsoft uses tables on their site, ninemsn uses tables, and the list goes on and on and on.

Megan I can appreciate that you are a CSS advocate, however considering the poplularity for tables I and the rest of world very much doubt that tables will dissapear any time soon.

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

Renegade's picture
Moderator

He has: 2,943 posts

Joined: Oct 2002

IMHO, it's not that tables are popular, its just that people have a reluctance to change what they have always known, which is designing with tables.

Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

Renegade - Which would mean? probably that tables are indeed popular.

From an employers perspective, I have 2 developers working for me, one codes with tables same as me the other is a trainee who is learning CSS through uni. If she can convert our content management system over then so be it, else we will keep using tables. Remember bottom line is all that is important and while tables are functional and coders can keep producting good work with it there is no reason to justify the expense of retraining. I have been interviewing for 2 weeks now for a new developer so hopefully the new person will have CSS ablility and run through implementation but that person will have to be able to prove why changing over would be worth while.

So I am assuming that most other development firms are similar with developers that are comfortable using tables, why change that? the next generation mite fix this problem, only time will tell.

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

Renegade's picture
Moderator

He has: 2,943 posts

Joined: Oct 2002

dataNdesigns wrote: Renegade - Which would mean? probably that tables are indeed popular.

No, not at all, it just means that people are so used to using tables for layout that "they" can't be bothered changing what they have always known. Not that it is more popular.

Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

No one is disupiting that tables are popular. We're just disputing the correct use of them, that's all. I don't know why everyone is getting so upset about it.

And Busy - none of those are facts.

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

Megan - yes tables are popular, be it from lazy developers, lack of time to learn and implement, or just the the conversion over would not justify the time factor based on gain. Who knows, my argument is that tables are in fact an acceptable format for the web regardless of comments to the contrary. They are used by far more than CSS alone and in more important websites. However that said most do use a combination of the two to some degree (even me).

But I think the next big change on the net will not come from developers shifting over to CSS but in fact new technologies and methods altogether different from any current standards.

Who knows? what would happen if flash or something similar came with the players already built into the browsers?

Further more provided the code is clean, the site works well and its functional does any of this really matter?

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

dataNdesigns wrote: Who knows? what would happen if flash or something similar came with the players already built into the browsers?

It's called SVG and yes it is coming* - check the Opera thread for more on that. I think SVG is deisgned to work alongside properly structured CSS layouts Smiling I don't think it would make sense to use it in a tabled layout.

*coming if we can ever kick IE6 which may be a very long time.

Renegade's picture
Moderator

He has: 2,943 posts

Joined: Oct 2002

Yeah, we won't have to worry about IE6 so much because we have to worry about IE7 Sticking out tongue

Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces

He has: 495 posts

Joined: May 2005

I don't know if it will be released as a stand alone or not. It will be released with Long-horn, MS's new windows version. Which I know I will not like, I haven't liked anything since ME (and I really don't like it).

Basically I think everything about computers suck, I only mess with them out of boredom.

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

The IE blog has some interesting debate, seems Microsoft are going to break RSS by building in their own extensions as well... Marvellous.

http://blogs.msdn.com/ie/

a Padded Cell our articles site!

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

You would think microsoft would have learn its lesson with .net and xp, the take up on both of those has been extreemly slow with many uses and corps still running the win 2000 pro operating system if not converting to lynix. I think they will upgrade themselves out of business one day. Smiling

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

dataNdesigns's picture

He has: 79 posts

Joined: Jun 2005

Windows 2000 pro is a nice operating system we run it on all our systems here, personally I like it anyway, I have just been forced to upgrade to xp as it came with my new laptop, and I hate it! everything is locked down and no IIS system in the home version, so I either have to downgrade back to win 2000 or upgrade to xp pro which is poor if you ask me.

What shocks me more than anything is ms office, to get the full version here, its almost $400 which is the same price as a good bare bones computer, does mircosoft really think that just the application is worth more that the computer it runs on?

Buy the time you work it out, the computer at wholesale price is $400 xp pro is $175 oem and office is $400 you end up paying more for the software that you do the system itself. For what? just so I can use microsoft to develop with? You would think microsoft would promote developers to use their product and at least give us a package price that is affordable, even just to promote there own product.

Stu
late nights = no life and too much pizza
dataNdesigns.com.au

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

I know for a fact that MS has dropped their policy of supporting older software, particularly stuff that uses OS-specific hacks to increase performance with Longhorn. Bad idea, how many people are seriously going to upgrade if most of their favourite programs don't work?

Win2K is a good operating system, there is nothing about XP that makes me want to upgrade, especially with that nasty Home/Professional edition differentiation. Linux is getting easier to use for the average person, I'd love to see more of an incursion into Windows market share on the desktop front.

I would expect that if no-one could upgrade to ie7 when using anything lesser than Longhorn then we'll see an even greater take-up of Opera & Firefox, think about the bigger picture... IE7 being restricted to Longhorn could be a good thing Smiling

a Padded Cell our articles site!

Megan's picture
Administrator

She has: 10,037 posts

Joined: Jun 1999

dataNdesigns wrote: Buy the time you work it out, the computer at wholesale price is $400 xp pro is $175 oem and office is $400 you end up paying more for the software that you do the system itself. For what? just so I can use microsoft to develop with? You would think microsoft would promote developers to use their product and at least give us a package price that is affordable, even just to promote there own product.

They were also planning on making Longhorn subscription based so you'd have to pay a yearly fee to use it (not sure if this is still true either). Obvioulsy that's going to turn off a lot of users. This sounds like a make it or break it deal for MS. They're taking a big chance with this, IMO. Word is getting out among the newbie types about Moz so it could be that eventually people switch over rather than paying for Longhorn (same goes for other software too. Really, who needs an improved version of Office?? IMO a lot of software packages have reached the point of diminishing returns) . It'll be interesting to see how this plays out - it's got huge implications for web development, obviously.

Busy's picture
Modrater

He has: 6,148 posts

Joined: May 2001

Isn't Longhorn going to be compiled into new PC's anymore?
It could be like Nortons AV, when you buy a new PC you get Nortons (and the CD) but is only a trial version which lasts 6-12 months then you have to pay for it. It will still work afterwards, you just wont have the latest/greatest.

Could make the net a whole different ball game for designers, who is going to pay to subscribe to IE just so they can test their pages with it when they use nix or mozilla/opera ...

If the operating system comes with new PC's, people will pay. I meet someone the other day that said they have been on the net for years, yet they didn't know there was other browsers/software out there to choose from - they are now enjoying mozilla