Jump to content

Talk:Provinces of Thailand

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Wfeidt (talk | contribs) at 16:42, 24 June 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In case anyone cares, using the Mozilla 1.3.1 browser, the map overlays the right-hand portion of the list of provinces, with the browser configured to approximately 3/4 width of my 1024 x 768 screen. With the browser set to full screen, the map clears the text, but I don't normally operate this way. I don't know if it has to do with this, but there are HTML coding errors, notably text within an ordered list, but outside of a any list-item. This is illegal. e.g.

 69: <ol start=1>
 70: <strong>North</strong&gt
 71: <li&gt<a href="/wiki/Chiang_Mai_province" 

FWIW. Bill 15:32 22 Jun 2003 (UTC)


I checked the illegal coding by test-correcting it and it does not appear to be the cause of the overlap. Bill 15:50 22 Jun 2003 (UTC)

I did not know that this kind of using lists is not official covered by the HTML standard, it works fine with Mozilla as well as in IE - I did it to have the caption and the following list item texts aligned well, without having to do a complete table. The reason for the overlap is simply that the list and the graphic are too wide with a big font, but two double-columns below each other as looks bad. Anyone have a better idea how to present the list? BTW: IE does not overlap the table and the text, that one moves the table below, seems to Gecko having a bit problems here. andy 07:58 24 Jun 2003 (UTC)
Yeah, the standard dictates that any text occuring within a list must occur within a list item. Although it looks the way you want it to now, future browsers, written to the standard, may not do what you expect, or worse, they may refuse to display the page. I checked the stylesheet that this page links to (/style/wikistandard.css) and it does contain two errors:
  • border-width: 1 (requires unit of measure)
  • padding: 2 (requires unit of measure)
as well as a number of warning conditions. It would be interesting to fix the errors and see if that helps the overlap. Mozilla does tend to be pretty standard-compliant, whereas IE is renowed for its non-standard behavior.
All that said, the Thailand pages are really magnificent; I can't imagine any other encyclopedia coming close to what has been done here! Bill 15:32 24 Jun 2003 (UTC)
Thanks for the compliment - I am so free and take that compliment for myself, as most of the recent pages on Thailand were at least partially by myself. But it is of course still work-in-progress, still not all provinces are covered and many other things to add (more cities, the kings are still incomplete, national parks, and so on). If you want to contribute on this topic you're welcome.
However as you already checked yourself these illegal lists are not the source of the overlap problem, that must be something to do with the way Gecko handles the div and tables. The question is if this is a bug in Mozilla, or if the HTML created by Wikipedia is broken. I noticed it on other pages occasionally as well - so maybe you better ask it the Wikipedia:Sandbox instead of here, there it would have a much bigger audience. andy 16:05 24 Jun 2003 (UTC)

The errors in the stylesheet apply to the #powersearch element. Nothing to do with the content of this article. I've instered a BR clear element to fix the overlap, though I'm not entirely sure why it was there. BTW, why is this list in a table? It doesn't look like tabular data to me. It looks like four lists. -- Tarquin 16:26 24 Jun 2003 (UTC)

Now it never aligns next to the image, it is always underneath it - that way it doesn't look much better either. There are in fact five lists, but if these five lists are underneath each other wouldn't look nice, thus the table to have them next to each other. andy 16:35 24 Jun 2003 (UTC)
For me at least, it is now displaying the same way on Mozilla and older versions of both Netscape and IE. I don't find the current format objectionable. Bill 16:42 24 Jun 2003 (UTC)