Jump to content

User talk:Sm8900/forum draft 1

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

notes

[edit]

==Note 2== This is note 2. {{help me-helped}} {{clear}} could you please tell me why the lighter-colored area below does not extend across th width of the entire page? I appreciate any help. trying to figure out these formatting tags. thanks!! --[[User:Sm8900|Sm8900]] ([[User talk:Sm8900|talk]]) 04:47, 14 February 2020 (UTC) : Missing a <nowiki></div> and not having enough text to force the cell to be wider. There is also some residual formatting from the {{help me}} template itself that I avoided by using {{clear}}. '''[[user:jmcgnh|<span style="color:#2eb85c">— jmcgnh</span>]]<sup><small>[[user talk:jmcgnh|<span style="color:#1e5213">(talk)</span>]] [[Special:Contributions/jmcgnh|<span style="color:#73b516">(contribs)</span>]]</small></sup>''' 05:28, 14 February 2020 (UTC)

An alternative that might be useful: if you wish to keep the shorter text, you can add style="width: 100%;" to the table element and accomplish the same effect. CThomas3 ([[User talk:Cthomas3|talk]]) 05:42, 14 February 2020 (UTC)[reply]
I think I tried that first, with no good result, but didn't go back to try it again after I found the missing </div>. '''[[user:jmcgnh|<span style="color:#2eb85c">— jmcgnh</span>]]<sup><small>[[user talk:jmcgnh|<span style="color:#1e5213">(talk)</span>]] [[Special:Contributions/jmcgnh|<span style="color:#73b516">(contribs)</span>]]</small></sup>''' 06:44, 14 February 2020 (UTC)
thanks, !!! okay, so based on your comment, could you please tell me where I should put the </div> tag that is still needed? I really appreciate your help. I thought I had covered all the tags, but I would like to correct this format item as much as possible. please let me know. thanks!! --Sm8900 (talk) 14:34, 14 February 2020 (UTC)[reply]
The div needs to be closed in the same element in which it was opened. You opened it after a <td> so the closing </div> wants to be before the corresponding </td> tag.
Your whole hierarchy, without the added params and data should have nested opening and closing tags thus:
<div><table><tr><td><div> ... </div></td></tr></table></div>
(Hope that comes out right!)
Looking again, it seems you added an extra </div> after the closing </table> - but I think it is just ignored.
(BTW: I tried using the width 100% again on a really large screen (2560x1440) and it was not successful in stretching the cell across the entire table. I don't know why it doesn't work, it seems like it should. Maybe I'm just not coding it right. There are at least three different ways to create tables and we may be mixing two of them up in this example. Plus there's interaction between the Wiki parser and which HTML elements it's willing to pass through untouched and which it wants to ignore or modify. Not to mention the whole general advice to not use tables for layout, only for data presentation.) '''[[user:jmcgnh|<span style="color:#2eb85c">— jmcgnh</span>]]<sup><small>[[user talk:jmcgnh|<span style="color:#1e5213">(talk)</span>]] [[Special:Contributions/jmcgnh|<span style="color:#73b516">(contribs)</span>]]</small></sup>''' 15:24, 14 February 2020 (UTC)


caption: welcome to Town Hall!!!
caption: welcome to Town Hall!!!
Welcome to the Community forum and bulletin board for WikiProjects across Wikipedia!!! aka....The Town Hall!!! Here is some added text to force the cell to be wider, perhaps wide enough to extend all the way across the table (but your mileage may vary based on the width of your browser window).

</nowiki>