if I look with Chrome at that post
and at the embedded code I notice that the tab width settings are 4 and 8.And it's also 8 if I copy that code to the textarea for composing a post. ²
Suggestion: Is there a way to homogenize that to one of these? Best with CSS?
There is no need to discuss that mixing tabs and whitespace is a bad habit, or that the mainstream is against tabs for formatting. And I don't really have an opinion which width would be better suited here...°
But I think it would be beneficial for newbies if they saw the same result before and after posting.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
°) My subjective preference is 4, which doesn't mean it's the objective overall solution.
²) Which means the OP didn't notice the problematic display prior to submitting.
update
there is a CSS setting called tab-size
see
- https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size
- https://www.w3schools.com/cssref/css3_pr_tab-size.asp
plz check with other browsers and discuss the options. :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Consistent tab width settings
by LanX (Saint) on Sep 12, 2022 at 19:11 UTC | |
Re: Consistent tab width settings
by jwkrahn (Abbot) on Sep 10, 2022 at 22:27 UTC | |
by hippo (Bishop) on Sep 11, 2022 at 09:53 UTC | |
by Fletch (Bishop) on Sep 12, 2022 at 00:37 UTC | |
by Bod (Parson) on Mar 12, 2024 at 23:21 UTC | |
by afoken (Chancellor) on Mar 13, 2024 at 20:07 UTC | |
Re: Consistent tab width settings
by atcroft (Abbot) on Sep 10, 2022 at 23:06 UTC | |
by LanX (Saint) on Sep 10, 2022 at 23:47 UTC | |
by cavac (Parson) on Oct 19, 2022 at 14:48 UTC | |
by LanX (Saint) on Mar 12, 2024 at 15:45 UTC | |
Re: Consistent tab width settings
by harangzsolt33 (Chaplain) on Oct 21, 2022 at 15:56 UTC | |
Re: Consistent tab width settings
by Anonymous Monk on Sep 11, 2022 at 09:18 UTC |