Jump to content
dojo

Table based design or divs?

Recommended Posts

Years ago there's been a huge change in the way we all code our designs. I have to say I was apprehensive at first, since I was just getting my head around how to use tables and having to ditch this all and start again with divs wasn't easy. Not to mention I didn't realy get how they worked at first.

 

Stii, I made the effort to learn the new 'way', especially since I am a web designer and clients don't care about my liking, they care about quality. Once I got to understand the div only designs, it was a breeze to code my templates like this. To this day, if I see a table based design I kinda freak out :)

 

Do you use tables or divs in your layouts?

Share this post


Link to post
Share on other sites

I have just started designing and I think I prefer using divs in my layout because I am more comfortable using those. However, I heard that table based designers are easier to design and are more professional as well, however I am not sure if it is correct. I have never worked with a table based design so I am not sure how I'd work with them :$

Share this post


Link to post
Share on other sites

Well I have changed my coding style over the years and now I use only DIV tags in my coding. When I started my career, the DIV tag was unheard of and TABLE tag was visible everywhere. But slowly and surely DIV tags became commonplace and the once elegant TABLE tags started disappearing from webpages. Initially I had to struggle a lot while making the transition from TABLE to DIV tags but once I understood their use and benfits it was easy to make the swith.

Share this post


Link to post
Share on other sites

Divs are always better then tables. Having a tabeless design is the best way to go. Divs are far more flexible and cleaner then tables are. Tables are pretty obsolete nowadays unless you're using them to input data into a database of sorts. Otherwise, Divs are more or less the new standard, as they should be. With HTML and CSS ever growing and evolving DIVs have basically made tables obsolete and many browsers won't render tables properly anymore. It's just cleaner and nicer from both a design/cosmetic standpoint and a coding standpoint to use DIVs over tables.

Share this post


Link to post
Share on other sites

I now use divs after spending three months at blogspot.com to learn about CSS and how to layout a webpage. I learned by reverse engineering several of the free templates and creating my own. However, I must admit that the 960 Grid System was instrumental in helping me understand everything I needed to know about the use of divs and tableless layouts.

Share this post


Link to post
Share on other sites

divs give much more power than tables. You just have to be careful about stylng especially since they can inherit styles. The best thing to do with trying to debug your formatting is to use firebug.

Share this post


Link to post
Share on other sites

Divs carry many advantages that tables can't do without significant effort. I switched to divs sort of late in the game and haven't looked back. The consistent look across all pages alone, makes the change worthwhile. Go into a bookstore today, or take a course in web design, and you know that the focus is on CSS, as far as design goes. 

Share this post


Link to post
Share on other sites

Ever since the last so many years I have been using the divs and now when you ask this question, I have to stress my brains to find out the year when I started with divs... 2007-8? Prior to that all was table and no one really bothered about divs I gues. I have just found some better frameworks - my client asked me if I knew about the 960 grid and I had to master it for his work... and the best thing is that I can use all this across clients and they all do really appreciate :thumbsup:

Share this post


Link to post
Share on other sites

I guess initially, designing sites within Tables may be more intuitive to those used to working in programs like Word. But in the long run DIV's are far more flexible. Worse case scenario you can have a bunch of absolutely positioned DIVs and design your layout kind of like you're making a Powerpoint presentation. What's particularly more difficult to understand is how to create a site that is flexible enough for mobile devices as well as desktop devices. 

Share this post


Link to post
Share on other sites

I prepare both but on different use. i use divs on designing a web pages more easily than using tables but tables is also useful like if you want to make a specification of-- for example IphoneX if you going to make a detailed specification of that phone you must use Tables it is also used on Lazada, Ebay and many more, so for me Div and Tables are very useful even now, we should just make our website and our design better and make it more informational by using tables on separating data/infomation and make it well designed by using Div command.

Share this post


Link to post
Share on other sites

Like many of you, I used to develop exclusively in tables, but I've started using a lot more frameworks, like Bootstrap, over the years, and pretty much use whatever the framework is using, which are typically divs.

The only time I might still use tables today is for a table of data. In the past, I used tables for layout, but divs are so much better for that these days.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...