FAQ
(frequently asked questions)
Why are files sometimes rejected by Pretty HTML?
Look at the Options Windows if the 'Skip files without <HTML> Tag inside' is
checked. Unselect this option and all files with an accurate file extension will further be accepted.
Why are some table cells always concentrated in one line?
The cause of this is a concession to an often used webdesigner trick. Look at this code:
<TABLE><TR>
<TD bgcolor="#FFB905"><IMG src="pixel.gif" width="200" height="2"></TD>
</TR></TABLE>
The following will not display the same as the code above:
<TABLE><TR>
<TD bgcolor="#FFB905">
<IMG src="pixel.gif" width="200" height="2">
</TD>
</TR></TABLE>
Pretty HTML takes care of such 'sensible' cells. In such cases, if a linebreak or a whitespace would be inserted between <TD> and </TD>, some page layout's would be disturbed. So we decided to overrule sometimes <TD> Tag settings.
Sometimes the line indents seems to be incorrect
For a few tags, the HTML standard allows to open them, without the need to close them everytime:
<TABLE><TR>
<TD bgcolor="#FFB905"><IMG src="pixel.gif" width="20" height="20"></TABLE>
Pretty HTML does not perform any syntax check. If you have set the 'Indent Tag Contents' Option for the <TR> tag to true will get such a result.
<TABLE>
<TR>
<TD bgcolor="#FFB905"><IMG src="pixel.gif"
width="20" height="20">
</TABLE>
If you do not close such tag's everytime, it's better to leave both indent settings for this tag unchecked. Such 'perhaps critical' tag's are marked with a (*) in the 'Tag Overview Grid'.
Sometimes a mysterious 'dash' appears beside an image
First look at the difference between the following lines:
<A href="."><IMG
src="pixel.gif" width="20" height="20"></A>
<A href="."><IMG src="pixel.gif" width="20"
height="20"> </A>
The problem is that Netscape treat's the trailing blank after the <IMG> tag as a part of the link and underlines it! And such trailing blanks (or linebreaks) are inserted when tags are splitted like this:
<A href=".">
<IMG src="pixel.gif" width="20" height="20">
</A>
Even trailing linebreaks are treated as blanks! Therefore we recommend to leave the <A> tag always as 'As Text'.
Sometimes after reviewing a formatted page in a browser, some
textlines are sliding up or down a few pixels
Be aware, when you insert blanks, comments or blank lines the browser has to rearrange the
page layout. So you it could be, that you will find some slight differences in the appearance
before and after formatting. This is immanent in the nature of things. Consider that, if you do the
bothering formatting job by hand, you will get the same effects. It just takes a little bit longer
to recognize them...