Jump to content
xisto Community
Sign in to follow this  
kraizii88z

Divs/ tables ?

Recommended Posts

Yup, from the initial days only, I've been using tables and div tags for better layout of my pages. They really give u some controll.With the right amount of cellspacing, cellpadding, border colour, background colour, table tags and div tags have become indespensible !!Bye

Share this post


Link to post
Share on other sites

at first use the div (full css layout) is tough. even impossible to adapt mostly to table users like me. but when you learn it, it just like a piece of cake :)div layout gave you much power and lighter code in designing html template, and you can create layout with ease that is unyielding to table :)

Share this post


Link to post
Share on other sites

The diffrence is easy.

Tables- They are old, they are limited, they are easier, they're for amateurs.

CSS Positioning (ea. Divs)- They're new, they're flexible, they're tough, they're for professionals.

 

Tables don't allow you to put alot of dynamicness in your webpage. If you have a layout and you want to change it a little, you have to rebuild it from start, because the cells of a table just don't allow for easy manipulation. They're a pain in the backside for any webdesigner that wants to go beyond the limitations of normal ancient design. CSS Positioning provides an amasing solution to all the problems. But it's a bit harder to manage, and the biggest issue of all. IE supports them, but they screwed up with the Box Model. So things look diffrent in IE... Sigh, shoot the bastards. Thus you sometimes need special CSS Hacks to give a diffrent kind of Positioning to IE in order to make it show the same as good browsers.

Share this post


Link to post
Share on other sites

Most javascript functions are written with DIV to create effects.Most commons use of DIV in javascript is hidding and showing content on click, mouse over or conditions met. This type of javascript effects are generally know as "Dynamic Content".

Share this post


Link to post
Share on other sites

The diffrence is easy.

Tables- They are old, they are limited, they are easier, they're for amateurs.

CSS Positioning (ea. Divs)- They're new, they're flexible, they're tough, they're for professionals.

 

Tables don't allow you to put alot of dynamicness in your webpage. If you have a layout and you want to change it a little, you have to rebuild it from start, because the cells of a table just don't allow for easy manipulation. They're a pain in the backside for any webdesigner that wants to go beyond the limitations of normal ancient design. CSS Positioning provides an amasing solution to all the problems. But it's a bit harder to manage, and the biggest issue of all. IE supports them, but they screwed up with the Box Model. So things look diffrent in IE... Sigh, shoot the bastards. Thus you sometimes need special CSS Hacks to give a diffrent kind of Positioning to IE in order to make it show the same as good browsers.

<{POST_SNAPBACK}>


i'd like to contradict that:

a good site is one that doesn't have too much movement & animation. it has to be fast, clear, handy and have a good placement of information.

most companies use tables. div's are as old as tables and are cool to position one element. i wouldn't call them more difficult.

TABLES! :)

Share this post


Link to post
Share on other sites

uh huh.. DHTML.. and I personally hate it kind of. CSS is far more professional. Personal taste I guess, but JavaScript is just generally evil.

Share this post


Link to post
Share on other sites

well, you sure as hell should keep in mind that some people have javascript disabled, which isn't as stupid as some might think.so if your site depends on javascript, it sucks hehe.i use javascript for my login system (i calculate in md5 hash of my password before i post my form. like that, someone sniffing the network won't be able to get my password...), but only because i'm the only one who is supposed to log in anyway and i have javascript enabled, so that's no problem.dhtml.. nonono! :)

Share this post


Link to post
Share on other sites

It has good ways of implementation and good concepts are possible with it, but the language itself is just a screwup. They should make a new client side language like it, and do it right this time.

Share this post


Link to post
Share on other sites

First of all, incompatibilities. Few browsers support the large gamma of functions JavaScript offers. And you have specific browsers that decided to make specific JavaScript functionalities which only work on their browsers, like Microsoft IE & Netscape. Thus, people working with those browsers, and using them as only testing browser will generate JavaScript which is ****ed in other browsers, completely screwing the primairy objective of a Web Application / Site, which is compatibility. They argue that IE is used by many people. This arguement only proves how lame and shortminded they are.

Secondly, JavaScript parsers are a pain in the backside, especially the Internet Explorer one. Code goes wrong when there is no reason for it to go wrong, because, for example, a div in the body didn't load in time, and the script can't find it.

Many browsers don't even have JavaScript parsers, which causes them to be unable to browse a specific site that depends on it.

JavaScript is insecure. It allows far too much datagathering, and allows for people to abuse holes in software. Holes are unpreventable, but JavaScript is a gate to take hackers there. Any clientsided script is a victim of this, unless if there are extensive restrictions. Java does a very good job, they should learn from it.

Most of all, the users which incorperate it. They are stupid and retarded. They don't realise that their code is evil, and they can't be bothered to learn JavaScript decently. Browsers should give parsing errors and not display the website should there be problems with the code, just like a Java compiler won't allow a program with screwed syntax to be run.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.