Computing.Net > Forums > Web Development > question on HTML tables

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

question on HTML tables

Reply to Message Icon

Name: FBI Agent
Date: April 5, 2005 at 17:06:21 Pacific
OS: WIN XP
CPU/Ram: 1.79Ghz/ 384 RAM
Comment:

well i know a crap load about making websites but for some reason, i dont know the answer to this question. the questions comes up as... is it better to use more tables or less tables?

i just helped a friend remake his site, but instead of using lots of tables like i usually do, i've took some of the tables out, but the source is really hard to use and it's confusing. i could easily change it to have more tables (i could fit like 6 more tables in there if i needed to) it's just confusing to me though about not having a lot of tables and everything is like linked to everything else because it's all in this one table and crap.

well... so my question is, is it better to use more or less tables? or does it depend on what it's needs are? thanks for any input!

FBI Agent

AIM: EliteAssassin187



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: April 5, 2005 at 18:00:24 Pacific
Reply:

There is no right or wrong answer. Use as many tables as you need - no more no less. Although, I'm not sure how many table YOU need. If you are leaning too heavily on tables, then you might need to spend some time honing your skills in other area.

I still use tables for basic page layout, but the new convention is to use CSS for layout. You can do just about everything you can do with tables with CSS instead.

Michael J


0

Response Number 2
Name: Jamie_McCoy
Date: April 5, 2005 at 18:43:12 Pacific
Reply:

agreed

the idea of tables is to give you more control of the positioning of elements in your page...

if you can get things just the way you want without tables, go for it

if you cant

then use tables

if your code is all over the place, then lay it out better paragraphs, indenting, etc etc

roamhosting.net


0

Response Number 3
Name: FBI Agent
Date: April 7, 2005 at 07:12:51 Pacific
Reply:

well im currently remaking the site and im using more tables than i had before (it should make it easier to see what im doing). i'll tell ya how it goes after that.

ummm... about making a page with just CSS... is that even possible? you'll end up having a lot of div's or span's or something that is setting the position and that seems to me less understandable.

i would usually use PHP to make this way simpler to make with the tables but im doing this for a friend which doesnt know PHP. well anyway, thanks for the advice. more tables it is!!!!

FBI Agent

AIM: EliteAssassin187


0

Response Number 4
Name: FBI Agent
Date: April 7, 2005 at 11:03:43 Pacific
Reply:

yeah... using more tables is a lot better. first of all there's not like this white space around one of my tables, and i can actually go through the code and find what im looking at like how i couldnt before, especially w/o comments.

http://xellos357.freesuperhost.com/suckitmike/dylanlol3.htm
the one w/o many tables

http://xellos357.freesuperhost.com/suckitmike/dylanlol4.htm
the one with more tables

you can check out the sources on those

FBI Agent

AIM: EliteAssassin187


0

Response Number 5
Name: Michael J (by mjdamato)
Date: April 8, 2005 at 01:44:22 Pacific
Reply:

I actually think CSS makes the building process easier because it separates content from design.

For example you have a span for the "right menu" and then you put the right menu contents within that div. You can then change any of the properties of the right menu by changing the properties of "right menu" in the style sheet. You have just as much, if not more, control over the design than you do with tables.

But, its definitely better to go with what is comfortable for you.

Michael J


0

Related Posts

See More



Response Number 6
Name: FBI Agent
Date: April 8, 2005 at 08:28:22 Pacific
Reply:

hey, i just use tables because that's what im supposed to use. i dont know any huge companies that do just spans. i really dont care what's easier, i just want to do it more appropriate, more with the common practices and sense i hear that most people use tables, i think i'll just stick with those. it does sound pretty easy the way you say it though, i think that the sceen resolution would have to much effect on it on the spacing of each page doing it that way. so in that aspect, i think my way is better

FBI Agent

AIM: EliteAssassin187


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: question on HTML tables

html table from windows dir content www.computing.net/answers/webdevel/html-table-from-windows-dir-content/1260.html

HTML Tables www.computing.net/answers/webdevel/html-tables/1158.html

Secret question on hotmail www.computing.net/answers/webdevel/secret-question-on-hotmail/2017.html