Jump to content

User talk:CJDOS

Page contents not supported in other languages.
This user has a committed identity.
This user has extended confirmed rights on the English Wikipedia.
From Wikipedia, the free encyclopedia
(Redirected from User talk:DeNoel)

User talk page: This is a Wikipedia user talk page, not an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user to whom this page belongs may have no personal affiliation with any site other than Wikipedia itself. The original talk page is located at http://en.wikipedia.org/wiki/User_talk:CJDOS.

Setting maximum width relative to display

[edit]

Timeshifter: My question doesn't feel entirely relevant to Help:Table until I know it can or cannot be done. If it can be done with a table, then I would like to recommend its inclusion. I've read in the Help page of three ways to adjust the width of a cell (and by extension, the table): pixel width (px), point width (pt), and em numbers. While I could dial this in for my display, it may behave oddly on other displays or if I change my browser's zoom factor.

How do I get a colored background to display all the way to the end of the screen without scrolling or wrapping, and automatically adjusts for display/zoom (provided that the text itself is less than the width of the screen)? Here are two examples... except the background stops just after the text:
Using a table

 Some brief text 

Using simple font style
 Some brief text 

As you see, only the box immediately surrounding the text has a LightBlue background. I would like the background to go right to the edge of the screen, always at the maximum width no matter how much I zoom in or out my display. How is that done? — CJDOS, Sheridan, OR (talk) 23:05, 21 June 2021 (UTC)[reply]

Update: I apologize for bothering you. I just came across the answer to my question: add display:block; to the style= parameter. Would this info be a useful inclusion to the Help:Table page? — CJDOS, Sheridan, OR (talk) 23:17, 21 June 2021 (UTC)[reply]

Can you give me an example? So I can look at in action with all the wikitext. --Timeshifter (talk) 01:19, 22 June 2021 (UTC)[reply]
Using a table
 Some brief text 
Using simple font style
 Some brief text 
— CJDOS, Sheridan, OR (talk) 01:27, 22 June 2021 (UTC) (rewrote 01:33, 22 June 2021 (UTC))[reply]
I was looking at the many display property values here:
https://www.w3schools.com/jsref/prop_style_display.asp
I am a newb concerning most of them.
Feel free to add more info to Help:Table. Add to existing sections, and/or start new ones.
--Timeshifter (talk) 18:26, 22 June 2021 (UTC)[reply]