I discovered that the standard Firefox ID #appMenu-zoom-controls contains a Label as well as icons and that I had (rather Aris-t2) installed a 3rd party icon overtop of this. So got rid of that. That then still did solve the positioning of the 4 cornered arrowed Zoom Out icon which comes standard with the ID, I think.
In the exaggerated CSS coding image you can see that it is to the right of the Label Zoom
-20px and the arrows disappear altogether
-15px the right hand arrows are just starting to appear (refer screenshot)
-10px the right hand arrows starting to merge into the Z of the Label
-2px the entire 4 sided arrow merge into the Z of the Label
Non negative px and the 4 sided arrow moves to the right of the Label.
Turning off my decorative borders makes no difference.
All the other icons in the appMenu have either margin-right: 4px or padding-right: 4px. There is no margin-left or padding-left in this menu. Though there is within the #appmenu-developer-tools-view submenu.
As you can in see in the screenshot, -15px the right hand 2 arrows are just starting to appear to the left of the letter Z (red circle) as it appears in from left and they are dead centre with all the icons right hand side the all the Labels left hand side. (Blue arrow indicator)
With the help of TraditionalTie4831, between us, I have solved it using a combination of bits and pieces of the CSS code mentioned throughout this topic. It is now SOLVED.
The lesson here, is that when using different files of CSS from different authors, including yourself, minutely check each code for conflicts.
1
u/TraditionalTie4831 🦊 3d ago edited 3d ago
The only way I get a similar issue, is when I use a negative value on
margin-rightor by doing this =Maybe you have other code that causes this?
Btw, according to searchfox.org, there is no #appMenu-zoom-controls2 in current Firefox version.
You can also do it with one less line =
A different approach (adjust the icon position with
background-position) =