TechTalks from Nitin

August 26, 2007

Page Layout <TABLE> or <DIV>

Filed under: CSS — TheOne @ 8:50 am

So, here i am with my first techtalk.

Today’s question is whether a webdesigner should use tables or div(layers).

Every web designer comes to this question, and it becomes harder to decide. Here I am with some of the points which will definetely help you in deciding layout strategy for your site.

1. My personal experience says it is easier to MAINTAIN or REDESIGN a website with a div(layers) only site in long run.

2. Separation of Structure and Content via CSS i.e., div(layers) makes things more organized.

3. Tables are only meant for tabular data, they are not meant for Page Layout.

4. It is a proven fact that CSS layout is always smaller(in size) than to <table> tags. Hence smaller page size.

5. Its more a question of convenience. With Div tags and CSS, you can write the CSS once and then never worry about the styling of your site again, and then spend your time entirely on content. With tables, you have to redo things every time content changes significantly(in certain ways). In this way CSS is much more efficient.

This was all about study now comes the final verdict.
K.i.S.S. is more important than table or divs. So remember just KISS.
K.i.S.S. = Keep It Simple Stupid

Moreover, I would recommend tables for sites with little content and/or few changes.
Divs(Layers) are recommended to use for DHTML and lots of ‘active’(web 2.0 sites) content that needs to be hidden and shown depending on users actions.

I Hope this will help you in deciding the layout for your site.

August 25, 2007

Its just a Start

Filed under: General — TheOne @ 7:30 pm

I know now a days its really very easy to start your personal blog, but i don’t know why I till now haven’t started one. Since many months I was thinking of starting of my own blog, but because of one reason or other couldn’t start.

Till now I am not very clear, what should be the domain of my blog. I have several domains in mind, lets see on which i finally decide:

  1. Javascript / CSS / Ajax
  2. moo.fx library
  3. general software information
  4. Software news
  5. Internet development

This is all for now. I’ll try to maintain a regularity in writing blogs.

Blog at WordPress.com.