Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231840 > unrolled thread

Re: Width of tab character in Firefox.

Started byDavid <bouncingcats@gmail.com>
First post2021-02-18 22:10 +0100
Last post2021-02-19 08:10 +0100
Articles 5 — 4 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Width of tab character in Firefox. David <bouncingcats@gmail.com> - 2021-02-18 22:10 +0100
    Width of tab character in Firefox. peter@easthope.ca - 2021-02-19 00:20 +0100
      Re: Width of tab character in Firefox. Felix Miata <mrmazda@earthlink.net> - 2021-02-19 00:50 +0100
        Re: Width of tab character in Firefox. Tixy <tixy@yxit.co.uk> - 2021-02-19 07:50 +0100
          Re: Width of tab character in Firefox. Felix Miata <mrmazda@earthlink.net> - 2021-02-19 08:10 +0100

#231840 — Re: Width of tab character in Firefox.

FromDavid <bouncingcats@gmail.com>
Date2021-02-18 22:10 +0100
SubjectRe: Width of tab character in Firefox.
Message-ID<BJYIF-3ZD-1@gated-at.bofh.it>
On Fri, 19 Feb 2021 at 08:00, <peter@easthope.ca> wrote:
>
> In Debian 10, firefox-esr 78.5.0esr-1~deb10u1, what mechanism is
> available to control rendering of a tab character?
>
> https://wiki.debian.org/Firefox doesn't mention "tab" or "css". Is
> there a user editable css file for firefox?

I used a search engine with keywords "html tab width render"
and immediately found this:
https://usefulangle.com/post/151/css-tab-size

Does it help?

[toc] | [next] | [standalone]


#231843

Frompeter@easthope.ca
Date2021-02-19 00:20 +0100
Message-ID<BK0Kt-5av-1@gated-at.bofh.it>
In reply to#231840
    From: David <bouncingcats@gmail.com>
    Date: Fri, 19 Feb 2021 08:04:46 +1100
> I used a search engine with keywords "html tab width render"
> and immediately found this:
> https://usefulangle.com/post/151/css-tab-size

Your search was more productive than mine.

> Does it help?

Instructions are plausible.  Found userChrome.css mentioned here.
https://wiki.archlinux.org/index.php/Firefox/Tweaks

Therefore made this.

peter@joule:/home/peter$ cat ~/.mozilla/firefox/cizpqwpf.default/chrome/userChro
me.css
#element {
        /* set size of tab key to 4 white spaces */
        -moz-tab-size: 4;
        tab-size: 4;
}

Tab width hasn't changed yet.   =8~/

Thx,              ... P.




-- 
cell: +1 236 464 1479            Bcc: peter at easthope. ca
VoIP: +1 604 670 0140

[toc] | [prev] | [next] | [standalone]


#231844

FromFelix Miata <mrmazda@earthlink.net>
Date2021-02-19 00:50 +0100
Message-ID<BK1dv-5jL-3@gated-at.bofh.it>
In reply to#231843
peter@easthope.ca composed on 2021-02-18 14:57 (UTC-0800):

> Instructions are plausible.  Found userChrome.css mentioned here.
> https://wiki.archlinux.org/index.php/Firefox/Tweaks

> Therefore made this.
> 
> peter@joule:/home/peter$ cat ~/.mozilla/firefox/cizpqwpf.default/chrome/userChro
> me.css
> #element {
>         /* set size of tab key to 4 white spaces */
>         -moz-tab-size: 4;
>         tab-size: 4;
> }

> Tab width hasn't changed yet.   =8~/
										
userChrome.css is for UI text. userContent.css is for window content, which will
largely or entirely be overridden by web page CSS most of the time, unless you
spend a lot of time overriding the specific overrides, or use an add-on to
override the overrides for you.
-- 
Evolution as taught in public schools, like religion,
	is based on faith, not on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#231852

FromTixy <tixy@yxit.co.uk>
Date2021-02-19 07:50 +0100
Message-ID<BK7LX-Mu-1@gated-at.bofh.it>
In reply to#231844
On Thu, 2021-02-18 at 18:43 -0500, Felix Miata wrote:
> peter@easthope.ca composed on 2021-02-18 14:57 (UTC-0800):
> 
> > Instructions are plausible.  Found userChrome.css mentioned here.
> > https://wiki.archlinux.org/index.php/Firefox/Tweaks
> > Therefore made this.
> > 
> > peter@joule:/home/peter$ cat ~/.mozilla/firefox/cizpqwpf.default/chrome/userChro
> > me.css
> > #element {
> >         /* set size of tab key to 4 white spaces */
> >         -moz-tab-size: 4;
> >         tab-size: 4;
> > }
> > Tab width hasn't changed yet.   =8~/
> 										
> userChrome.css is for UI text. userContent.css is for window content, which will
> largely or entirely be overridden by web page CSS most of the time, unless you
> spend a lot of time overriding the specific overrides, or use an add-on to
> override the overrides for you.

Or use !important property in your CSS, or do websites have a tendency
of fighting you by using that too?

I use { display: none!important; } in my userContent.css to stop
annoying elements on some website I frequent, or other hacks to fix
broken sites.

-- 
Tixy

[toc] | [prev] | [next] | [standalone]


#231853

FromFelix Miata <mrmazda@earthlink.net>
Date2021-02-19 08:10 +0100
Message-ID<BK85k-183-7@gated-at.bofh.it>
In reply to#231852
Tixy composed on 2021-02-19 06:39 (UTC):

> On Thu, 2021-02-18 at 18:43 -0500, Felix Miata wrote:
										
>> userChrome.css is for UI text. userContent.css is for window content, which will
>> largely or entirely be overridden by web page CSS most of the time, unless you
>> spend a lot of time overriding the specific overrides, or use an add-on to
>> override the overrides for you.

> Or use !important property in your CSS, or do websites have a tendency
> of fighting you by using that too?

> I use { display: none!important; } in my userContent.css to stop
> annoying elements on some website I frequent, or other hacks to fix
> broken sites.
										
Actually, !important is an absolute necessity for virtually every userContent.css
rule. Even then, excessive specificity and overuse of most internet CSS will make
your effort mostly for naught without including it for nearly every rule.
-- 
Evolution as taught in public schools, like religion,
	is based on faith, not on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web