Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > To table or not to table?

Reply
Thread Tools

To table or not to table?

 
 
Jim S
Guest
Posts: n/a
 
      10-01-2007
Almost all the many pages on my website look something like this
http://www.jimscot.pwp.blueyonder.co...s_14_wave.html
Is there any advantage to doing away with the 'table' as a placeholder?
If so, could someone please show me how to do it?
--
Jim S
Tyneside UK
www.jimscott.co.uk
 
Reply With Quote
 
 
 
 
fred.haab@gmail.com
Guest
Posts: n/a
 
      10-01-2007
On Oct 1, 6:01 am, Jim S <j...@jimXscott.co.uk> wrote:
> Almost all the many pages on my website look something like thishttp://www.jimscot.pwp.blueyonder.co.uk/Jims_pictures/Jimspics_14_wav...
> Is there any advantage to doing away with the 'table' as a placeholder?


The rants against tables are way overblown, IMO. Yes, I avoid tables,
and there's a lot of practical "theory" about why you shouldn't use
them for layout, and they all make great points. There are, however,
cases where even the most creative use of "div" and css doesn't work,
especially on all browsers. So then they think hacks to make IE look
right are better than tables. I don't.

One of the horrible things about browser capability/compatibility is
that vertical centering often simply doesn't work at all. In fact,
even horizontal centering has a lot catches depending on how you do
it. I was accused, when last I argued about this, of using
"pathological" cases to show why DIV doesn't always work when, in
fact, it was for a specific project I was working on. Especially
with "dynamic" content (like on your pages - you want to use the same
page structure, but some of your images might be wider or landscape as
opposed to portrait, so you can't just use some of the CSS hacks and
always have it centered). I was actually told I should be using
scripting to dynamicall modify the CSS in that case. Uh.... no, not
when I can do it with a simple table.

My opinion is that a very SIMPLE table for layout (not the nested
table within nested table nightmares) is not such a horrible thing.

 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      10-01-2007
Well bust mah britches and call me cheeky, on Mon, 01 Oct 2007 10:01:49
GMT Jim S scribed:

> Almost all the many pages on my website look something like this
> http://www.jimscot.pwp.blueyonder.co...mspics_14_wave.
> html Is there any advantage to doing away with the 'table' as a
> placeholder? If so, could someone please show me how to do it?


I pretty much agree with Fred and think you'll invariably _need_ a table
for vertical "middling". But, oh, the disappointment! _Transitional_??
You a coward, just lazy, or what?

--
Neredbojias
Half lies are worth twice as much as whole lies.
 
Reply With Quote
 
Jim S
Guest
Posts: n/a
 
      10-01-2007
On 01 Oct 2007 19:09:35 GMT, Neredbojias wrote:

> Well bust mah britches and call me cheeky, on Mon, 01 Oct 2007 10:01:49
> GMT Jim S scribed:
>
>> Almost all the many pages on my website look something like this
>> http://www.jimscot.pwp.blueyonder.co...mspics_14_wave.
>> html Is there any advantage to doing away with the 'table' as a
>> placeholder? If so, could someone please show me how to do it?

>
> I pretty much agree with Fred and think you'll invariably _need_ a table
> for vertical "middling". But, oh, the disappointment! _Transitional_??
> You a coward, just lazy, or what?


<g>
My other website is Strict
I cannot get tables to occupy the full HEIGHT using Strict or I would.
--
Jim S
Tyneside UK
www.jimscott.co.uk
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-01-2007
In article <t26fb9rfiguy$.>,
Jim S <> wrote:

> Almost all the many pages on my website look something like this
> http://www.jimscot.pwp.blueyonder.co...s_14_wave.html
> Is there any advantage to doing away with the 'table' as a placeholder?
> If so, could someone please show me how to do it?


"table as a placeholder" presumably means "table for layout". I
mention this to help you search the many times this has been
discussed here. There are several things that you could be asking
here:

(1) Why is table for layout bad in general? (you won't get too
much these days from many experts here because they would be
tired of answering this). Yes, there are advantages, they are of
a *general kind*, it has been greatly discussed.

(2) Is it worth changing a table layout site to one that conforms
to better practise? If it is an evolving site, and will have a
future, be updated regularly and get new sections etc, yes, it
will gain all the advantages from accruing from the above. If it
is not, if it is a legacy piece, still of interest, if it is also
large and complicated, the answer is probably not.

(3) As for your particular page above, it is an example of many,
the changes would be very easy and useful because you might
improve some things while at it - for example, in Safari, the fwd
and back buttons are way down at the bottom of a page. The
caption is way down from the pic. It looks odd on a big screen
and involves greater travel for the mouse. Making a page for
these pics with a caption, and forward and back button would be
very simple, involve less code (less css and less html) than what
you have. I would be happy to give you a demo if you are
interested as I am sure would others.

---------
btw, in your css you have an unwanted character before your
table.sample { (i>>?table.sample {)

--
dorayme
 
Reply With Quote
 
BootNic
Guest
Posts: n/a
 
      10-01-2007
Jim S <> wrote:
news:1qjq4gtnlte6o$.:

> On 01 Oct 2007 19:09:35 GMT, Neredbojias wrote:

[snip]
>> I pretty much agree with Fred and think you'll invariably _need_ a
>> table for vertical "middling". But, oh, the disappointment!
>> _Transitional_?? You a coward, just lazy, or what?

>
> <g>
> My other website is Strict
> I cannot get tables to occupy the full HEIGHT using Strict or I would.


4.01 Strict example:
http://bootnic.atwebpages.com/100PercentTableHeight.php

--
BootNic Monday October 1, 2007 6:17 PM
"This seems like a case where we need to shoot the messenger."
*Charlie Kaufman on Cypherpunks list*
 
Reply With Quote
 
Sherm Pendley
Guest
Posts: n/a
 
      10-01-2007
"" <> writes:

> On Oct 1, 6:01 am, Jim S <j...@jimXscott.co.uk> wrote:
>> Almost all the many pages on my website look something like thishttp://www.jimscot.pwp.blueyonder.co.uk/Jims_pictures/Jimspics_14_wav...
>> Is there any advantage to doing away with the 'table' as a placeholder?

>
> The rants against tables are way overblown, IMO. Yes, I avoid tables,
> and there's a lot of practical "theory" about why you shouldn't use
> them for layout, and they all make great points. There are, however,
> cases where even the most creative use of "div" and css doesn't work,
> especially on all browsers. So then they think hacks to make IE look
> right are better than tables. I don't.


Agreed.

The key reason to avoid layout tables is that it makes for cleaner markup,
simplifying both initial development and maintenance. Some people confuse
the end with the means, though, and insist on avoiding tables even when
cross-browser issues make the alternative far more complicated.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
 
Reply With Quote
 
John Hosking
Guest
Posts: n/a
 
      10-01-2007
BootNic wrote:
> Jim S <> wrote:
> news:1qjq4gtnlte6o$.:
>
>> My other website is Strict
>> I cannot get tables to occupy the full HEIGHT using Strict or I would.

>
> 4.01 Strict example:
> <http://bootnic.atwebpages.com/100PercentTableHeight.php>


God, I hate pages which won't scroll with the mousewheel.

Why overflow:auto?

--
John
Pondering the value of the UIP: http://improve-usenet.org/
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-01-2007
BootNic wrote:
> Jim S <> wrote:
> news:1qjq4gtnlte6o$.:
>
>> On 01 Oct 2007 19:09:35 GMT, Neredbojias wrote:

> [snip]
>>> I pretty much agree with Fred and think you'll invariably _need_ a
>>> table for vertical "middling". But, oh, the disappointment!
>>> _Transitional_?? You a coward, just lazy, or what?

>> <g>
>> My other website is Strict
>> I cannot get tables to occupy the full HEIGHT using Strict or I would.

>
> 4.01 Strict example:
> http://bootnic.atwebpages.com/100PercentTableHeight.php
>

Hmmm interesting... no mater the window size even at 1536px tall *still*
has a vertical scroll bar!

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
Jim S
Guest
Posts: n/a
 
      10-01-2007
On Tue, 02 Oct 2007 08:06:44 +1000, dorayme wrote:

> In article <t26fb9rfiguy$.>,
> Jim S <> wrote:
>
>> Almost all the many pages on my website look something like this
>> http://www.jimscot.pwp.blueyonder.co...s_14_wave.html
>> Is there any advantage to doing away with the 'table' as a placeholder?
>> If so, could someone please show me how to do it?

>
> "table as a placeholder" presumably means "table for layout". I
> mention this to help you search the many times this has been
> discussed here. There are several things that you could be asking
> here:
>
> (1) Why is table for layout bad in general? (you won't get too
> much these days from many experts here because they would be
> tired of answering this). Yes, there are advantages, they are of
> a *general kind*, it has been greatly discussed.
>
> (2) Is it worth changing a table layout site to one that conforms
> to better practise? If it is an evolving site, and will have a
> future, be updated regularly and get new sections etc, yes, it
> will gain all the advantages from accruing from the above. If it
> is not, if it is a legacy piece, still of interest, if it is also
> large and complicated, the answer is probably not.
>
> (3) As for your particular page above, it is an example of many,
> the changes would be very easy and useful because you might
> improve some things while at it - for example, in Safari, the fwd
> and back buttons are way down at the bottom of a page. The
> caption is way down from the pic. It looks odd on a big screen
> and involves greater travel for the mouse. Making a page for
> these pics with a caption, and forward and back button would be
> very simple, involve less code (less css and less html) than what
> you have. I would be happy to give you a demo if you are
> interested as I am sure would others.
>
> ---------
> btw, in your css you have an unwanted character before your
> table.sample { (i>>?table.sample {)


Not here I haven't.

Anyhow, yes I am asking for a demo.
I simply have never been able to find a simpler way of presenting the
pictures in a way that keeps them within the bounds of an 800x600 layout
(and bigger), centralised. The buttons are meant to be in the lowest bottom
corners of the screen.
--
Jim S
Tyneside UK
www.jimscott.co.uk
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
table in table -> 100% height does not work Paul Schmidinger HTML 3 03-24-2011 03:47 PM
Table where I want to draw a border around the whole table but not between the cells. UJ ASP .Net 8 06-12-2006 06:20 PM
row bottom border in inner table not matching up with row border in outer table phl HTML 1 06-08-2006 03:43 PM
Table/table rows/table data tag question? Rio HTML 4 11-05-2004 08:11 AM
Could not load type VTFixup Table from assembly Invalid token in v-table fix-up table. David Williams ASP .Net 2 08-12-2003 07:55 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57