Inserting a table in a default...

User 38401 Photo


Senior Advisor
10,951 posts

not "using" anything that we're inserting ourselves Per.
    * Open HTML Editor
    * Open a new blank page (it inserts the declarations and base code for you)
    * Put your cursor inside the Body area
    * Use the table tool in the program to create a 2 x 2 table without any settings just let it insert the defaults.
    * Save the form
    * Now use the HTML Validator
User 1948478 Photo


Senior Advisor
1,850 posts

Jo Ann wrote:
not "using" anything that we're inserting ourselves Per.
    * Open HTML Editor
    * Open a new blank page (it inserts the declarations and base code for you)
    * Put your cursor inside the Body area
    * Use the table tool in the program to create a 2 x 2 table without any settings just let it insert the defaults.
    * Save the form
    * Now use the HTML Validator


Well, that's exactly what I was doing, but since we are getting such dramatic differences in validation results, there must be a difference in our codes somewhere, most likely in the declaration. I was not suggesting that the declaration would have been manually inserted or modified.

For clarity, here is my complete code for the test case (then I'll let it rest):
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>test</title>
<meta http-equiv="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)">
<meta name="created" content="Thu, 18 Mar 2010 04:51:10 GMT">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">

<font size=2 color="#000000" face="Arial">
<div><table width="100%" border=1 cellpadding=2 cellspacing=2 bgcolor="#ffffff">
<tr valign=top>
<td><br />
</td>
<td><br />
</td>
</tr>
<tr valign=top>
<td><br />
</td>
<td><br />
</td>
</tr>
</table>
</div>
</font>
</body>
</html>

User 3004957 Photo


Registered User
866 posts

Like any tool, this one can make or break things depending on the user. Relying 100% on any software to create 100% validated pages is impractical, especially if the user is unfamiliar with html/xhtml. At best, software can create the basics and it is up to the coder to make it as good as it can be. I doubt there is any software that will create 100% validated pages using tables with any doctype declaration or page structure; while tables themselves are not yet deprecated, a lot of the code that goes along with making them work is and this is probably the problem.

My 2 cents

Dave.
User 476017 Photo


Ambassador
375 posts

Jo Ann wrote:
I get 30 errors/warnings same as Arthur does.

It's definitely in the code. The table is default code from the program tool that creates them. Just open that tool, create a 2 x 2 using Table Designer, no settings at all added just let it enter the 2 x 2 and insert it into the "body" of a blank new page. Don't change anything at all and it will give those errors. I've done it 3 times in a row and it happens each time so it's definitely a problem.

Arthur did say that CC is aware of it and I'm sure they will get it all worked out guys so I wouldn't worry about it too much.

@ Arthur: If you need some assistance getting a table working just let us know here and we'll be glad to get you going on it if you haven't already. The errors are mostly just because the styling is "old school" and needs to be updated for the most part. Still a bit confusing as to why parts that are saying errors for the blank page don't say errors on my page, but maybe I'm missing something too who knows lol. Hollar if you need some help :)


Hi Jo Ann
Just to agree with you there isa problem
I get 30 errors same as you.
I Just select file blank page, save it then insert 2x2 table.
No changes made to coding.
Dave Butler
Yorkshire
England

Old Rishworthians Rugby Union Football club http://www.orrufc.co.uk
Tuxedo Junction Yorkshire Function Band http://www.riley-tuxedojunction.co.uk
The Commons Guest House http://www.thecommons-guesthouse.co.uk
all created with Coffee Cup html editor
User 597929 Photo


Registered User
1,332 posts

I would generally expect anyone using the HTML editor already to know enough coding to recognize (and create) valid code without hand-holding. It's not a close-and-play tool, it's an editor for writing code. The tool inserting invalid code is certainly not a good thing, but the user should know enough to be able to correct it and move on.

There's always VSD. :cool:
"You can't be a real country unless you have a beer and an airline - it helps if you have some kind of a football team, or some nuclear weapons, but at the very least you need a beer." -- Frank Zappa

Visit Spinland Studios: http://www.spinland.biz
User 364143 Photo


Guest
5,410 posts

Arthur Fromm wrote:
Thank you for passing judgment about my character. You are definitely a loving person.

I believe you said "My first reaction to this was: Insufficient information at best, disingenuous at worst..."

Have a great day.


You have to excuse Per, he likes to get warm fuzzies trying to sound intellectual.
CoffeeCup... Yeah, they are the best!
User 364143 Photo


Guest
5,410 posts

Dave Thompson wrote:
I doubt there is any software that will create 100% validated pages using tables with any doctype declaration or page structure; while tables themselves are not yet deprecated, a lot of the code that goes along with making them work is and this is probably the problem.


Very interesting. :/
CoffeeCup... Yeah, they are the best!
User 562592 Photo


Registered User
2,038 posts

I think by "forces me to use XHTML" Arthur might be referring to the declaration. It might be the case that he has it automatically set on XHTML and does not know how to change that setting. I know when I open a new blank page it automatically sets to XHTML. He might just want to use HTML, but does not know how to change the doc type setting.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 571838 Photo


Registered User
7 posts

Well guys, I never expected to receive so much attention.

In any case, an with the good lord on my side, I managed to figure a way to fix this.

It is a simple process. Use the basic example I posted above. Again it does not validate. After seeing it won't validate, run CodeCleaner. Check validation. I got valid code. Then, I started to add additional items such as images and text. Then, I would validate again. If it does not validate, I run it through CodeCleaner and see what I am doing wrong or to see what it likes. After I got a version that would validate I copied it into my main page I was working on. While this seems to be a long drawn out process, it works.

Have a web page that is 100% valid.

Thank you for your support.

And have a great day.
User 562592 Photo


Registered User
2,038 posts

Arthur,

I am very glad everything worked out. I was going to suggest code cleaner yesterday, but forgot. Anyway, good luck.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.