|
|
|
|
![]() ![]() |
Dec 16 2006, 12:13 PM
Post
#1
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 181 Joined: 22-February 06 Member No.: 19,007 |
since tables are deprecated and not intended to be used for website layouts and future browsers may not support tables i thought of listing a few advantages of using tableless designs for web pages
the first and obviously the most important reason is faster loading time ofcourse yo all will i think know the fundamental truth - tables load slowly one way to counter this problem itself becomes a bigger problem, that is to set the width and height of all your table elements , now think how many td open tags you'll be having in a average table based layout ? tons , so having to set all the values explicitly only adds to the page size and thus loading time QUOTE There are many experiments that have been done on this topic, I'll point you toward this one that StopDesign did on a remake of the Microsoft website from a tablebased site to a tableless layout. That remake showed a 62% file size reduction of the site, and using their average hits per month for the Microsoft site, calculated that Microsoft would be saving 924 GIGS in bandwidth per day, and 329 Terabytes of bandwidth per year. For any company that pays for bandwidth, these things are important. search engine optimization the fact that you can put your most important content at the top of your page without affecting you page layout makes your page better optimized for search engines. for example lets say i have a navigation bar at the left with links that are actually great keywords too, i can move the navigation bar higher up my code wiothut having any affect on my layout because i will be using css to position my navigation bar ,that way search enignes can more clearly find common words throughout your document without having to filter through code, search engines tend to prioritize that have higher content to code ratio , putting all your style elements into an external css stylesheet makes your site highly content based to a search engine.Tableless layouts, as previously mentioned, decrease page size and loading time - another bonus to search engines. hopefully this article may have helped in getting started on understanding why to use a tableless layout and the benifits so read as much about css as you can here and elsewhere and jumping to tableless design will be just a matter of time |
|
|
|
Dec 16 2006, 05:13 PM
Post
#2
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 413 Joined: 4-October 06 From: Psychedelic Realms Member No.: 31,079 |
i agree with you midnitesun that tables are depreciated, but i don't think that they are going to be removed from future browsers beacouse there is to many sites using tables, and removing code is kinda stupid even if there is better code for the same thing. once the code is added and used there is no point in removing it.
second thing about tables is that they WEREN'T create for designing whole pages, but just for creating basic page layout. Only thing i will be using tables for design is just ONE table, in which i'll put rest of the CSS code! Why. Well, tables make it easy to center the web site instead if you are using CSS for making pages that look centered. Even that isn't the solution. When you start designing websites from scratch and add CSS worst thing that happens is difference in treating code from two browsers IE and Firefox. I just can't find logical solution why the heck does the same code entered in one browser looks different in other. But then again when you look at the big picture solution is simple. There is no communication between developers of IE, FFox, and Opera couse those 3 of the most used browsers on Internet (except Mac) are totaly different in their structures and treating code. Of course, that someone can say now that there are ways to implement code for both browsers but that makes us (if i count myself as web designer Even so i think that maybe nor Microsoft or other developers can't be blamed for that. Reason stands in history of Internet when the war begun between Microsoft and Netscape, and that resulted with different standards for those company's. Now, almost (let's say) 20 years after Microsoft has the profit of billions and other company's earn quite enough (take Google for example). Hasn't the time come for someone to raise the white flag and start to communicate on development of unisex browser which is going to be fully compatible with future standards like CSS3, so that even for 20 years we still wouldn't have the same problem. Another thing that is bothering me is that if programmer even finds some problem with his code (like basic html or css) he isn't going to do nothing to report that problem, he will rather write complicated script that solves it other than maybe trying to change that problems so that others after him wouldn't need to lose time learning new scripts for rather simple tasks And all of that beacouse of tables |
|
|
|
Dec 16 2006, 05:50 PM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 138 Joined: 30-September 06 From: Iasi, Romania Member No.: 30,851 |
tables will not be removed from browsers` engines, as tables are used to display tabular data (that`s why table tags exist - it`s quite difficult and time-wasting to display tabular data with css, and in such a way that they don`t "break" on different resolutions
QUOTE second thing about tables is that they WEREN'T create for designing whole pages, but just for creating basic page layout. see above-tables are for displaying tabular data, not at all for layout ..every html tag should be used for what it was created |
|
|
|
Dec 16 2006, 06:21 PM
Post
#4
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 181 Joined: 22-February 06 Member No.: 19,007 |
am i missing a point here ??
i totally agree it will take ages for browsers to stop supporting tables ... not only because 90% of the current web sites may be using it , but we cant deny the fact that the tables that were never intended for layout purposes (tables are for data - layout grids are an abuse of the mark-up, an abuse that weve come to live with and accept a bit land now it ceems we cant live wthout it too) wont be used in webpage designing in the near future and its not just big sites like hotmail that have switched to pure css , but you would see that many have resorted to css if not before This post has been edited by midnitesun: Dec 16 2006, 06:28 PM |
|
|
|
Dec 16 2006, 08:09 PM
Post
#5
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 821 Joined: 6-March 05 Member No.: 4,202 |
To people like me, that donīt know much or anything about building structures in css, the things you say seem very reasonable, but how to do it? I mean, do you recommend any good tutorial about... I donīt know,,, learning to replace the common use of tables in web design for a better css use? You know weīve learn to design with tables and now itīs gonna be hard to change our mind and I suppose that doing the same with css will be much more difficult. I would like to try and see if the differences bettween browsers are so dramatic. Itīs not so much time ago that I learnt that tables in html werenīt really conceived to do what they are used to do nowadays and it would be cool to leave them but how to start? I know that it will take ages to change people mind, but these processes must be slow. Some years ago nobody would say that a new browser like firefox would beat explorer or some linux distributions would start to harm seriously the windows business.
About the thing that different browsers display the same code in different ways, I think it sucks, someone is not acting according to standars there. The same as if you write a word here and in Tokyo it looks the ame, writing a css code would have to look the same in every browser. |
|
|
|
Dec 16 2006, 09:11 PM
Post
#6
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 181 Joined: 22-February 06 Member No.: 19,007 |
well i believe saint-michael had been making tutorials on how to design in css, which i am sure will be indeed very good for you to start with .
QUOTE You know weīve learn to design with tables and now itīs gonna be hard to change our mind and I suppose that doing the same with css will be much more difficult. yea it is always hard to leave somthing we are familiar and jump onto unfamiliar territory , but it's not going to be more difficult, infact it is more easy ... i should have been more comprehensive on my original post |
|
|
|
Dec 16 2006, 10:57 PM
Post
#7
|
|
|
Moderator ![]() Group: [MODERATOR] Posts: 1,337 Joined: 26-December 04 From: Canada Member No.: 2,940 |
The reason I like to use DIV tags is because they seem to be easier to code. If you don't want it to appear, just use "display: none;". For tables you actually have to modify the HTML to remove a section of it. DIV tags are easier to customize and through CSS files, they are certainly my choice of coding.
|
|
|
|
Dec 16 2006, 11:26 PM
Post
#8
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 138 Joined: 30-September 06 From: Iasi, Romania Member No.: 30,851 |
http://blog.html.it/layoutgala/
that is a good place to start - a collection of 40 layouts, only in css (of course, only the skeleton of the page, you will add your own css formatting to the stylesheet |
|
|
|
Dec 17 2006, 02:42 AM
Post
#9
|
|