Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > error in HTML table

Reply
Thread Tools

error in HTML table

 
 
Kkiely
Guest
Posts: n/a
 
      02-11-2004
There is some kind of error in my table here -
http://www.homepokergames.com/tab.htm. Ther eis white space in there that i
dont want and it happens when the text wraps in the other rows. I put in a
screenshot below it to chop up all the <tr> and <td> so you can see the design
of the table. The code is below. Anyone know whats wrong?


<table width=624 cellpadding=0 cellspacing=0>
<tbody>
<tr>
<td width=14></td>
<td width=180 align=center bgcolor=a0c0a0>Kieran</td>
<td width=28></td>
<td width=180 align=center bgcolor=a0c0a0>Foxboro,
MA</td>
<td width=28></td>
<td width=180 align=center bgcolor=a0c0a0>Age:
30</td>
<td width=14></td>
</tr>

<tr bgcolor=eaeaea><td colspan=7>
</td></tr><tr bgcolor=eaeaea> <td ></td> <td class=category30 colspan=3>
Name: Kieran
Email/nickname: KK
Favorite Game: No-limit hold em
Favorite Player: No-limit hold em
Favorite Poker Book: Sklanksy
Favorite Site & Why?: Party Poker
Poker Accomplishments: Party
Screen names: Party Poker
</td> <td class=category30 valign=top colspan=3> Playing poker
since: 10
Limits: $2/$4
Occupation: cook
Interests: playing poker, 5555544444
</td></tr><tr bgcolor=eaeaea> <td></td><td class=category30 colspan=6> Your
Poker "Story": Istarted playing , did better. I started playing , did better.
I startedplaying , did better. I started playing , did better. I started
playing , didbetter. I started playing , did better. I started playing , did
better.</td></tr> <tr bgcolor=eaeaea><td colspan=7>
</td></tr></tbody></table>
 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      02-11-2004
On 11 Feb 2004 01:45:14 GMT, ojunk (Kkiely) declared in
alt.html:

> There is some kind of error in my table here -
> http://www.homepokergames.com/tab.htm.


http://www.allmyfaqs.com/faq.pl?Tableless_layouts

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
 
 
 
Kkiely
Guest
Posts: n/a
 
      02-11-2004
forget it, i got it
i did nested tables
 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      02-11-2004
On 11 Feb 2004 03:08:10 GMT, ojunk (Kkiely) declared in
alt.html:

> i did nested tables


So instead of fixing the real problem, you applied a band-aid solution,
which will make the code even more of a mess. Yay.

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
Leif K-Brooks
Guest
Posts: n/a
 
      02-11-2004
Kkiely wrote:
> i did nested tables


http://dorward.me.uk/www/nested/
 
Reply With Quote
 
Brian Tozer
Guest
Posts: n/a
 
      02-11-2004
> http://dorward.me.uk/www/nested/

I I was using nested tables to achieve a visually attractive fluid page with
many ornamental borders, and using CSS as much as possible, is there still a
case for making it tableless?
Can it be done similarly with nested divs?
The only "content" inside the inner table would be an image.

Brian Tozer


 
Reply With Quote
 
Barry Pearson
Guest
Posts: n/a
 
      02-11-2004
Brian Tozer wrote:
>> http://dorward.me.uk/www/nested/

>
> I I was using nested tables to achieve a visually attractive fluid
> page with many ornamental borders, and using CSS as much as possible,
> is there still a case for making it tableless?
> Can it be done similarly with nested divs?
> The only "content" inside the inner table would be an image.


How to judge? Let's have a go.

The objectives of a web site presumably include communicating with the target
audience, within various constraints of development and maintenance costs. The
primary judgement must therefore be how well the web site achieves these. So -
how do you think you were doing there?

Judgement of techniques (etc) can only sensibly be made according to how well
they help or hinder the achievement of these objectives and constraints. Do
you believe you could have communicated better with your target audience, or
done so with less cost, and/or less maintenance effort, some other way?

Mark-up techniques, layout tables, CSS positioning, etc, are simply means to
an end. They are not the end. Web sites are about communication with people,
not about gaining points for technique. If you use "approved" techniques, but
fail to communicate - you have *failed*. If you use terrible technique, but
have satisfied users - you have *succeeded* (at least for the moment).

A few facts, to help you think about this:

- From 1993, more than a year before the first browser supported tables,
tables were proposed as a way of laying out complex material in rows and
columns. They are still being proposed for this in the very latest W3C (XHTML)
standards. They are part of both the past and the future of the web. (W3C has
never said that tables were intended to handle data such as you'd find in a
spreadsheet).

- Layout tables are not a barrier to accessibility, as long as they linearise.
This has been recognised and published since about 1999/2000. (The key
resolutions occurred in April 1999).

- CSS1 was stated by W3C not to be a layout language. CSS2 has well recognised
& publicised weaknesses with its positioning features. It will be several
years before most users are using browers that fully support even this limited
CSS2 standard. Future CSS3 standards are being proposed to put in some
recognised requirements, such as columns, etc. But they will not come to the
rescue for several years.

- An overwhelming majority of web pages, already published, and being
published every day, use layout tables. (I suspect it is about 99%). My guess
is that layout tables will still be used in a decade. This is the world that
all new browsers, and new versions of existing browsers, have to handle to
become accepted.

I use table-layouts and tableless-layouts, depending on what I judge will be
the best way to build pages to communicate with my target users. They are very
different, imperfect, schemes. I don't know of a good reason to restrict
myself to just one imperfect scheme.

http://www.barry.pearson.name/articles/layout_tables/
http://www.barry.pearson.name/articl..._presentation/

It's only mark-up; it isn't sin!

"If all you have is a hammer, everything looks like a nail."
Traditional

"If all you have is a screwdriver, everything may get screwed up."
Barry Pearson, 2004

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/


 
Reply With Quote
 
Leif K-Brooks
Guest
Posts: n/a
 
      02-11-2004
Barry Pearson wrote:
> Mark-up techniques, layout tables, CSS positioning, etc, are simply means to
> an end. They are not the end. Web sites are about communication with people,
> not about gaining points for technique. If you use "approved" techniques, but
> fail to communicate - you have *failed*. If you use terrible technique, but
> have satisfied users - you have *succeeded* (at least for the moment).


The "targer audience" of the web is everyone, not people who happen to
use browsers which render your hacks correctly.

> From 1993, more than a year before the first browser supported tables,
> tables were proposed as a way of laying out complex material in rows and
> columns. They are still being proposed for this in the very latest W3C (XHTML)
> standards. They are part of both the past and the future of the web. (W3C has
> never said that tables were intended to handle data such as you'd find in a
> spreadsheet).


What?
http://www.w3.org/TR/html4/struct/tables.html#h-11.1
"Tables should not be used purely as a means to layout document content
as this may present problems when rendering to non-visual media.
Additionally, when used with graphics, these tables may force users to
scroll horizontally to view a table designed on a system with a larger
display. To minimize these problems, authors should use style sheets to
control layout rather than tables."
 
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
html table control vs web table control Geary ASP .Net 2 07-12-2007 12:12 AM
CSS table don't look like html TABLE vitay HTML 8 11-09-2006 05:56 PM
difference between html table and asp:table Beffmans ASP .Net 1 07-08-2005 12:07 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