Can't get rid of margin from Menu Bar

User Help for Mozilla Firefox
Post Reply
User avatar
JAB Creations
Posts: 394
Joined: December 28th, 2003, 10:21 pm
Location: Sarasota Florida
Contact:

Can't get rid of margin from Menu Bar

Post by JAB Creations »

How do I get rid of all margins on #toolbar-menubar?

The #toolbar-menubar has three pixels of bottom and top margin located in chrome://ctraddon_os_special/skin/tabsontop_offextra.css that I absolutely can not figure out how to negate. Here is one of many examples of what I attempted using userChrome.css yet the selectors just aren't applying:

Code: Select all

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

@-moz-document url(chrome://browser/content/browser.xul)
{
 #main-window[tabsintitlebar]:not([inFullscreen]) #navigator-toolbox #toolbar-menubar
 {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
 }

 @media all and (-moz-windows-compositor)
 {
  #main-window[tabsintitlebar]:not([inFullscreen]) #navigator-toolbox #toolbar-menubar
  {
   margin-top: 0px !important;
   margin-bottom: 0px !important;
  }
 }

 @media all and (-moz-windows-classic)
 {
  #main-window[tabsintitlebar]:not([inFullscreen]) #navigator-toolbox #toolbar-menubar
  {
   margin-top: 0px !important;
   margin-bottom: 0px !important;
  }
 }
}
Here to mostly fix the browser's broken GUI. I maintain the Fixed Firefox website to share the things I've confirmed work.
User avatar
DanRaisch
Moderator
Posts: 127186
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Can't get rid of margin from Menu Bar

Post by DanRaisch »

Moving to Firefox Support/
User avatar
JayhawksRock
Posts: 10433
Joined: October 24th, 2010, 8:51 am

Re: Can't get rid of margin from Menu Bar

Post by JayhawksRock »

AFAICT, That real estate belongs to Windows... Try F11
"The trouble with quotes on the internet is you never know if they are genuine" ...Abraham Lincoln
User avatar
JAB Creations
Posts: 394
Joined: December 28th, 2003, 10:21 pm
Location: Sarasota Florida
Contact:

Re: Can't get rid of margin from Menu Bar

Post by JAB Creations »

After considerable more research I discovered it's hard coded in the Classic Theme Restorer theme. I've unzipped all the assets and have had to manually weed out about a dozen bad styles that weren't necessary to begin with. I don't need any more updates for that extension any way. Thanks for trying guys.
Here to mostly fix the browser's broken GUI. I maintain the Fixed Firefox website to share the things I've confirmed work.
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: Can't get rid of margin from Menu Bar

Post by Brummelchen »

look for pre and after - i had that hint from Aris (CTR) longer ago. he also was annoyed of this.
User avatar
JAB Creations
Posts: 394
Joined: December 28th, 2003, 10:21 pm
Location: Sarasota Florida
Contact:

Re: Can't get rid of margin from Menu Bar

Post by JAB Creations »

Here to mostly fix the browser's broken GUI. I maintain the Fixed Firefox website to share the things I've confirmed work.
Post Reply