Mailing List Archive

Re: Goodbye to HTML (not closing == correct HTML !)
No, you are not lazy at all Andre (as I see how much work
you spend daily on maintaining the Dutch wikipedia :-).
And furthermore, not closing tr-, th- and td-tags is
VALID HTML 4 !
Indeed, in older HTML-versions this was not correct,
but in HTML 4.01 you do NOT need to close these tags any longer.
Read: http://www.w3.org/TR/html401/struct/tables.html#h-11.2.5

Kind regards,
Pieter


Andre Engels wrote:
>
> On Wed, 22 Jan 2003, Magnus Manske wrote:
>
> > Just thinking:
> >
> > Sometimes, there's an image which is not very wide. You don't want it to
> > occupy a whole line, because that would create a huge white space. So,
> > you'll align the image left or right from the article. (I prefer right,
> > so the text of the article will align left).
> >
> > Now that image has a caption. The caption would be wider than the image,
> > which looks ugly, so you want to wrap it. Also, the caption should be
> > centered with the image.
> > What I do is
> >
> > <table align=right>
> > <tr>
> > <td align=center width=1>
> > [[image:xyz.jpg]]<br>
> > Some longer caption, which is wider than the image itself
> > </td>
> > </tr>
> > </table>
> >
> > Someone explain to me how to do that in wiki syntax, with the *same*
> > result, without the code looking more ugly?
> > (you are free to invent a wiki table syntax for that puropse!)
>
> Although also using HTML in this case, I still use a slightly different
> syntax. What I do is:
>
> <table align=right>
> <tr><td align="center">[[image:xyz.jpg]]
> <tr><td align="center">
> ''Some longer caption, which is wider<br>than the image itself''
> </table>
>
> And yes, I know it is bad HTML to not close the tr's and td's, but I guess
> I'm lazy...
>
> Andre Engels
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@wikipedia.org
> http://www.wikipedia.org/mailman/listinfo/wikitech-l