GTalbot wrote:
> Instead of <wbr>, I believe there is a character entity for this...
> but it's not well supported IIRC.
>
> "
No, it is a completely different thing. See
http://www.cs.tut.fi/~jkorpela/html/nobr.html#suggest
for a lengthy explanation.
> The point was to achieve clearer separation of style and presentation
> from content and structure.
That's a theoretical benefit - no tangible effect on the functionality or
appearance on the page, _except_ that you may break a page in converting it
(after all, we make mistakes, and computers are great in assisting us there)
and that the page won't look as it used to when CSS is off. Very marginally,
you might achieve some reduction in page size and thereby in load time, if
you manage to replace lots of <font> etc. markup by some simple CSS.
> More consistent look, more consistent
> coding manners, therefore easier to maintain, to do site-wide changes
> if needed.
Maybe - but is there a proof thereof? And maintainability and modifiability
depends on much more than Strict vs. Transitional. To create a really
maintainable and easily modifiable _site_ you would need to redesign it, not
just modify the markup. You should probably then start from selecting or
creating tools and procedures for generating the pages etc., and then you
would basically reconstruct the markup, not just convert it.
> Tuning of options to use is delicate in HTML Tidy when you're beginning
> with
> HTML Tidy.
Thanks for the heads-up.

I'll keep avoiding HTML Tidy if I can.
>> 1) <ol start="42"> and <ol value="10">
>
> I would suggest to use counter-reset.
As discussed in another sub-thread, it does not do exactly the same, and it
does not work widely enough to justify the approach in WWW authoring.
>> 2) target attribute
>
> Frames are pretty much obsolete, definitely not recommendable.
The issue was converting from Transitional to Strict by replacing non-Strict
constructs by CSS, not the desirability or usefulness of such constructs.
Millions of pages use the target attribute. Hint: It cannot be replaced by
CSS, but it can be replaced by JavaScript, though here, too, you cannot
achieve _exactly_ the same effect (except by cheating: by using JavaScript
that modifies the document by adding a target attribute!).
>> 3) <small> (no defined counterpart in CSS - operates with a special
>> scale of sizes)
>
> I would suggest CSS declaration
> {font-size: smaller;}
> as a CSS replacement for <small>
One might also say font-size: 10pt, and it _might_ (just as your suggestion
_might_) have the same effect on some browsers under some conditions. Or,
more sensibly, one might say font-size: 85%, and it might, by accident, have
the same effect. The point is that <small> is of its own kind.
>>> 2-
>>> <table bordercolor="color"> . First bordercolor is invalid.
>>
>> Whether it is valid depends on the document type definition.
>
> bordercolor is not in any document type definition that I know of.
Well, that can be arranged. See
http://www.cs.tut.fi/~jkorpela/html/...d.html#tagsoup
> I am not sure. I would need to test this. I believe
> bordercolor="color" will be honored in quirks mode in a number of
> browsers with a default solid (or is it outset?) border and a default
> 2px width. When converting to HTML 4.01 strict, <table style="border-
> color: color"> may not suffice.
You're right, bordercolor also sets the border style to solid (as opposite
to outset, which is what most browsers use by default), but it's even more
complex. The effect does not depend on quirks vs. standards mode, but it
depends on browser. On Firefox, bordercolor sets only the color of the
border around the table; on IE, cell borders are affected too.
This is further evidence for my statement that it is not possible to convert
from Transitional to Strict, in a manner that preserves the original
formatting on all browsers, or even in a few major browsers. Moving from
Transitional to Strict thus involves a design change, not just mechanical
replacement.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/