How to change TAB font size in ANY BROWSER

11

7

I just can't work near PCs anymore my eyes hurt - I am developer. I use browser a lot. I tried all of them: IE, Safari, FF, Chrome - they all are bad at the most simplest thing - large font size for tabs.

Please don't suggest me changing resolution or change DPI sizes - these are not solutions at all.

I don't care if Chrome loads 14 ms faster than browser X, if I spent 5000 ms trying to determine what the hell that tiny tab is for. I already have -2.00 - and this is stress for my eyes.

Numerous threads on Google, some magic dances in Firefox, didn't find anything for safari. Is it time for Linux already?

Maybe there is some genius guy who wrote plugin to save my vision?

Aubergine

Posted 2012-03-27T07:13:50.130

Reputation: 229

I recommend Firefox due to the fact that it uses XUL/CSS for its UI. You can customize how any part looks, basically. – iglvzx – 2012-03-27T07:17:41.117

how exactly? any reasonable resource? – Aubergine – 2012-03-27T07:20:38.607

1@Aubergine I am my own resource. ;) – iglvzx – 2012-03-27T07:22:22.500

that is definitely good for you :-) However I would like to see universal solution that would fit any poor soul like mine – Aubergine – 2012-03-27T07:24:00.273

I'd be very interested to see an answer from @iglvzx as well. This is a problem I deal with too. – None – 2012-03-27T07:25:36.817

@RandolphWest You're welcome. :) – iglvzx – 2012-03-27T07:37:45.197

Answers

10

You can edit your Firefox profile's userChrome.css or use the Stylish add-on to define the following CSS rule:

#tabbrowser-tabs
{
    font-size: ... !important;
}

Where ... is replaced with a valid font-size value.

Example:

#tabbrowser-tabs
{
    font-size: 20px !important;
}

tabs

Video Demo: http://www.youtube.com/watch?v=BAhzZuhN61E


PS: If you want to also edit the font size of the List all tabs popup menu, the CSS selector is:

#alltabs-popup menuitem

PPS: Once you've increased the size of your tab's text, you can also increase the width of each tab to accommodate:

.tabbrowser-tab:not([pinned]) 
{
    min-width: ... !important;
    max-width: ... !important;
}

Where ... is replaced with a valid min-width or max-width value. Play around with these values to get different effects! Note: Pinned tabs will remain the same size.

Example:

.tabbrowser-tab:not([pinned]) 
{
    min-width: 400px !important;
}

wide tabs

iglvzx

Posted 2012-03-27T07:13:50.130

Reputation: 21 611

I tried however it didnt work - created `chrome' added css - no effect at all :-\ C:\Users\MyUserName\AppData\Roaming\Mozilla\chrome Maybe I've done something wrong? Update: such a lovely picture - my dream – Aubergine – 2012-03-27T07:37:54.793

+1. Works on my machine (latest FF on latest OS X). – None – 2012-03-27T07:40:53.990

hmm, why does this happen to me, I will keep trying... :-) – Aubergine – 2012-03-27T07:42:27.783

@Aubergine Try the Stylish add-on, it works the same way, but is easier to use. – iglvzx – 2012-03-27T07:43:16.937

Stylish works! YeaY! Can I make tab names appear in full as it gets hidden under dots? like 'beer is...' it misses great. – Aubergine – 2012-03-27T07:51:26.430

@Aubergine Done! :) – iglvzx – 2012-03-27T08:11:59.443

1you know what? You are WONDER :-D – Aubergine – 2012-03-27T08:39:31.083