Template talk:Equation box 1

Thumb right?
Thumbnail boxes for images have a "right" or "left" function that moves the image-box all the way to the right or left page border. In LaTeX or for this template "Equation Box 1" that works fine for the LEFT border. But what to do, if you'd like a boxed equation (or even a non-boxed one) to go to the RIGHT border, as (for example) part of the introductory infobox-like illustration of an article? Turns out this is hard. You can use enough colons in the Equation Box 1 template to move your equation "all the way over to the right" but if you do, you find that with some other browser your equation box is now not displayed where you wanted it, but is either too far right or not far enough. There is no function to get an equation to display all the way to the right border in any browser, that I can find.

Anybody know of a way to do this? S B Harris 01:35, 25 April 2013 (UTC)


 * You could use a  like this:

$$


 * That is:




 * without indenting the line including the div. Is this what you mean? M&and;Ŝc2ħεИτlk 05:31, 25 April 2013 (UTC)

"Indentation"
A leading colon is not a valid way of indenting anything. It introduces a description list, and using them this way is first of all invalid HTML (definitions must be preceded by at least one term), and second it is an accessibility error (see MOS:INDENTGAP). Hairy Dude (talk) 12:50, 3 March 2019 (UTC)


 * Agree. We should use CSS for this kind of things. --Franklin Yu (talk) 18:26, 26 June 2019 (UTC)
 * We now do use CSS for this! (Since this edit.) Even if you as the user pass  or   to the   parameter it is automatically translated to a CSS margin property; no definition list should be generated. User:GKFXtalk 18:49, 30 June 2019 (UTC)

Dark mode
The equation text is in white over a white background in the android app using the dark theme. You can see this visiting Definite matrix in the android app. Miguelsxvi (talk) 10:50, 31 May 2023 (UTC)


 * @Ladsgroup also seems broken on https://en.wikipedia.org/wiki/Diffusion_equation ? Jon (WMF) (talk) 18:16, 19 July 2024 (UTC)
 * Ignore - turns out the template accepts background colors so the article was the issue. I just fixed this. 🐸 Jdlrobson (talk) 02:24, 20 July 2024 (UTC)