ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

why put the x next to the new tab button, why?

more options

would it be wrong to put the little x on the other side of the tab

would it be wrong to put the little x on the other side of the tab

All Replies (4)

more options

Hi

The "x" is there so that you can click on it to close that tab if you no longer need it to be open.

I hope this helps, but if not, please come back here and we can look into a different solution for you.

more options

Hi  !
Putting the 'X' on the other side would make more sense;   maybe there's an add-on that will make that possible.
I'm not sure if this one will do the trick :
https://addons.mozilla.org/en-US/firefox/addon/close-button/?src=search
But have a look for yourself and see if there's something that'll work for you :
https://addons.mozilla.org/en-US/firefox/

more options

Can you attach a screenshot?

  • use a compressed image type like PNG or JPG to save the screenshot
  • make sure you do not exceed the maximum size of 1 MB

Current Firefox releases show a close button on each tab to close this tab. It used to be possible to modify a pref on the about:config page to have only one close button at the far right. If you have an extension that makes this possible then you should check its settings.

Note that it is fairly easy to relocate the close button on individual tops to the left with code in userChrome.css.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tab-close-button {
 display: -moz-box !important;
 -moz-box-ordinal-group: 0 important;
 margin-right: 3px !important;
}

(edited to fix the class name)


The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

You can use this button to go to the current Firefox profile folder:

  • create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • paste the code in the userChrome.css file in the editor window
  • make sure that the userChrome.css file starts with the default @namespace line
  • make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file

Modified by cor-el

more options

On Windows, users are accustomed to the "close" (X) button always being at the upper right, it's just a convention.

A custom style rule could hide those buttons if you like; you can always close a tab using right-click > Close Tab (or if it's the current tab, Ctrl+w). But changing the order of items on the tab looks trickier and probably requires an extension. It appears I stand corrected by the remarkable cor-el.

And you might find it useful to launch a new tab using Ctrl+t to avoid having to mouse all the way up and over to the new tab button.

Modified by jscher2000 - Support Volunteer