Page 1 of 1
RC3: Incorrect HTML code
Posted: Sat May 21, 2005 2:35 am
by ckit
Using the HTML Validator 0.5.9 extension in Firefox,
I noticed XnView has a incorrect <tr> tag towards the end of the HTML file.
The tag should be a closing tag </tr> not opening tag.

Re: RC2: Incorrect HTML code
Posted: Sat May 21, 2005 9:18 am
by helmut
ckit wrote:Using the HTML Validator 0.5.9 extension in Firefox,
I noticed XnView has a incorrect <tr> tag towards the end of the HTML file.
The tag should be a closing tag </tr> not opening tag.

Good to see that someone actually looked into the HTML generation. Pierre has made real changes in this area and with the right CSS, the pages generated can look really nice.
Re: RC2: Incorrect HTML code
Posted: Mon May 23, 2005 10:04 am
by xnview
ckit wrote:Using the HTML Validator 0.5.9 extension in Firefox,
I noticed XnView has a incorrect <tr> tag towards the end of the HTML file.
The tag should be a closing tag </tr> not opening tag.
Ok, i'll fix it
Posted: Sat May 28, 2005 9:47 pm
by ckv
SOLVED
If I get my inspiration back I will try to make nice css set for HTML templates.
Posted: Sat May 28, 2005 10:00 pm
by Dreamer
ckit, could you confirm it too?
Posted: Sat May 28, 2005 10:08 pm
by ckv
Dreamer wrote:ckit, could you confirm it too?
I runned html pages through HTML tidy now I am sure it's not there anymore
but the doctype is invalid
"Line 1, column 60: invalid formal public identifier "-//w3c//dtd html 4.0 transitional//en": invalid public text class"
should be
<!doctype html public "-//w3c//dtd html 4.0 transitional//en" "
http://www.w3.org/TR/REC-html40/loose.dtd">
Theres more of these doctype defins but loose.dtd probably fits just fine for simple page.
Posted: Sun May 29, 2005 8:18 am
by Olive
ckv wrote:
nice icon =)
4.1 strict or xhtml is the way to go...
Various issues
Posted: Sun May 29, 2005 9:05 am
by helmut
I've just made a check with HTML Tidy which is included in PSPad.
There have been various issues:
== In Template "_Default - Frame"
index.html:
- DOCTYPE should be Frameset//EN.
- Upperlowercase of DOCTYPE
- Empty src="" for frame2 (not solved, yet, think this should point to the first image or a dummy page (another template page).
thumb.html
- DOCType (see above)
- <i>,<h1> were uppercase (minor issue)
page.html
- Misplaced </td>
- <i>,<h1> were uppercase (minor issue)
== In Template "_Default - Frame"
Basically same problems as above.
I have zipped and uploaded the
corrected HTML template. The DOCTYPE might be still wrong.
Posted: Sun May 29, 2005 11:17 am
by Guest
Olive wrote:nice icon =)
4.1 strict or xhtml is the way to go...
Thanks. I made whole set of those.
Take a look
If memory serves well strict don't work with frames. (look down

)
helmut wrote:There have been various issues:
== In Template "_Default - Frame"
I forgot that there are two typy of HTML templates with frames and not frames.
Posted: Mon May 30, 2005 7:57 am
by Olive
So that could be strict for simple and frameset for Frame =)
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
Posted: Sat Jun 04, 2005 1:48 pm
by ckit
My original post has been fixed in RC4.
You can replace the tags <div align="center"> and </div> by using the following code in the CSS file.
table.tabc { border: 0px; margin-left: auto; margin-right: auto; text-align: center }
Now in the HTML file....
<table class="tabc" cellpadding="0" cellspacing="0">
You can also kill "border="0" in the table tags as well.
Also you can choose any class name (I used "tabc")
I'm learning CSS myself at the moment.
Posted: Sat Jun 04, 2005 5:58 pm
by Olive
i'm not sure border:0; is valid css. Use border:none; or border:0px;
also don't forget to add a meta tag for character encoding
Right, indeed…
Posted: Sat Jun 04, 2005 6:40 pm
by Clo
olive

Hello ! Bonsoir,
- That is true… I use CSS for a long while now, even as so "huge" files in some Tutorials / Help folders…
-
ckit could give a glance on the help-file of MicroSulphur :
that you get when installing the (free) HTML Help WorkShop program.

It isn't very “fresh” and I couldn't find updates @ M$', but it's a good base.
{ Aside : It's available for you still !
}

Kind regards,
Claude
Clo
Posted: Sun Jun 05, 2005 4:20 am
by ckit
Olive wrote:i'm not sure border:0; is valid css. Use border:none; or border:0px;
also don't forget to add a meta tag for character encoding
Thanks, I really appreciate the help on that.
Posted: Tue Jun 07, 2005 5:14 pm
by helmut
HTML code has been validated by ckv - see separate topic. Closed.