Click here to get back home

how to position layout? CSS2 or table?

 HomeNewsGroups | Search

alt.www.webmaster - All aspects of webmastering business 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to position layout? CSS2 or table? bm 10-16-2005
Posted by bm on October 16, 2005, 5:52 am
Please log in for more thread options


If tables drive one nuts, why 99% of "professional" websites I view are
layed out with tables?
E.g.,
www.pwccn.com
www.bain.com
http://harvardbusinessonline.hbsp.harvard.edu
Moreover, what's funny is that you see tons of codes like this--
//==CODES==
show/hide quoted text
src="/b02/en/images/spacer.gif" width="782" height="1"
show/hide quoted text

//==CODES==
//
URL(http://harvardbusinessonline.hbsp.harvard.edu/hbrsa/en/issue/0510/article/R0510G.jhtml;jsessionid=034VYSOC4GQSEAKRGWCB5VQBKE0YIIPS?type=F)
//

--as if by magic! I should be overwhelmed with awe if they did that
purely by hand!

show/hide quoted text
a tool, Dreamweaver?

Anyway, my question is why do they use tables instead of CSS2 for
layout? How did they manage complicated properties of tables like
width, height, align, colspan, rowspan, purely by hand or by WYSIWYG?
If by hand, a change to a common heading would give rise to cascading
changes to many HTML pages. A nightmare.

According to a CSS book I just borrowed from the Shanghai Library, it
says CSS2 supports positioning in 3 ways: absolute, relative and
static. It seems by using CSS2 absolute positioning alone, one can mock
tables. But...it appears CSS2 layout involves careful calculation of
top,left,height,width...And positioning is based on "div class=.." and
in CSS file "..{position=..; top=..; left=..; width=..; height=..}".

How does the idea of "frame" strike you? My humble idea is divide the
page up into fixed sizes of several frames: upper ,left, right and the
central, like the one www.pwccn.com shows. Each frame contains an HTML
page...

There FP offers such a feature called "shared borders". But in the end
I discovers the "frame" is nothing but a table. FP just pieces the
pages together using tables that are interlaced with
show/hide quoted text

And just now I discovered FP also offers layout tables as attached
snapshot shows..

Now I understand to seperate content from structure is important, and
it's nice that a change in one place will cascade automatically to
other places. And...Are you feeling confused now by what I said? If
not, I already am...


Similar ThreadsPosted
Used a table layout, prefer a layout using CSS June 22, 2005, 8:56 pm
text position problem March 31, 2006, 6:49 am
Permanent Web Developer Position Available May 4, 2006, 11:40 am
Automatic cursor position March 19, 2009, 5:47 am
Answering position:absolute query once and for all January 17, 2006, 7:21 pm
Google indexed site in the last position? July 6, 2006, 3:21 pm
position div top right regardless of vertical length of page? February 28, 2007, 8:07 am
overflow:hidden; and position: absolute; in Opera February 2, 2006, 6:33 am
Position horizontal menu items in header November 9, 2006, 11:42 am
ANYONE ??? --> Position horizontal menu items in header? November 16, 2006, 10:10 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy