Welcome to the English Wikipedia, CJDOS! |
|
Index
|
||
This page has archives. Sections older than 14 days may be automatically archived by ClueBot III. |
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)
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)
Some brief text |
Welcome to the English Wikipedia, CJDOS! |
|
Index
|
||
This page has archives. Sections older than 14 days may be automatically archived by ClueBot III. |
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)
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)
Some brief text |