Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

userChrome.css Tabs at Bottom covering content

  • 8 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: abt

more options

I have moved the tabs to the bottom but now the tabs are covering some useful content. Is there a way to pad the content bottom or some other way to move the content up to make way for the tabs? I've tried everything.

Here's my current code:

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

#main-window:not([inFullscreen]) #content-deck {margin-bottom: 32px !important;}
#main-window[inFullscreen] #content-deck {margin-bottom: 0px !important;}

#TabsToolbar
{
   position: fixed !important;
   bottom: 0px !important;
   width: 100% !important;
}

#tabbrowser-tabs {width: 96% !important;}
#TabsToolbar[inFullscreen]
#TabsToolbar { background-color: #4d4d4d !important }
#tabbrowser-tabs { background-color: #4d4d4d !important }

I have moved the tabs to the bottom but now the tabs are covering some useful content. Is there a way to pad the content bottom or some other way to move the content up to make way for the tabs? I've tried everything. Here's my current code: <pre> @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #main-window:not([inFullscreen]) #content-deck {margin-bottom: 32px !important;} #main-window[inFullscreen] #content-deck {margin-bottom: 0px !important;} #TabsToolbar { position: fixed !important; bottom: 0px !important; width: 100% !important; } #tabbrowser-tabs {width: 96% !important;} #TabsToolbar[inFullscreen] #TabsToolbar { background-color: #4d4d4d !important } #tabbrowser-tabs { background-color: #4d4d4d !important } </pre>

글쓴이 abt 수정일시

선택된 해결법

As you may know, the author of Classic Theme Restorer maintains a large set of CSS files with intricately detailed rules for moving the tab bar. The ones to move the tab bar below the content start here, and incorporate several additional files:

https://github.com/Aris-t2/CustomCSSforFx/blob/master/classic/userChrome.css#L423

I have not tried it myself.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (8)

more options

Hi abt, it might be beneficial to follow up with the source of the rules you're using, to make sure they are current with the latest release of Firefox. Do you recall where you got them?

P.S. Use <pre> before and </pre> after your code to preserve its integrity.

#main-window:not([inFullscreen]) #content-deck {margin-bottom: 32px !important;}
#main-window[inFullscreen] #content-deck {margin-bottom: 0px !important;}

#TabsToolbar
{
   position: fixed !important;
   bottom: 0px !important;
   width: 100% !important;
}

#tabbrowser-tabs {width: 96% !important;}
#TabsToolbar[inFullscreen]
#TabsToolbar { background-color: #4d4d4d !important }
#tabbrowser-tabs { background-color: #4d4d4d !important }
more options

@jscher2000 Thanks.

No, I don't recall where I got the code other than I searched, found, and tried lots of different ways and this is what I went with. Many of them worked but they all have the same problem, the tabs cover the content.

Duly noted on using the pre tag. I have edited my post.

글쓴이 abt 수정일시

more options

Try to add a "display:block !important;" rule:

#TabsToolbar
{
  display: block !important;
  position: fixed !important;
  bottom: 0px !important;
  width: 100% !important;
}
more options

cor-el said

Try to add a "display:block !important;" rule:
#TabsToolbar
{
  display: block !important;
  position: fixed !important;
  bottom: 0px !important;
  width: 100% !important;
}


Thanks. No luck with that. I the problem is that this moves the tabs tools bar and what I'm trying to do is resize the content so that the tabs aren't over the top of it.

more options

Can you attach a screenshot?

See also:

more options

Okay, so I think I may have been misleading with my post (sorry!). When I said I want the tabs on the bottom I meant the bottom of the screen not the bottom of the navbar.

I've attached screenshot of what I mean by the tabs covering the content.

글쓴이 abt 수정일시

more options

선택된 해결법

As you may know, the author of Classic Theme Restorer maintains a large set of CSS files with intricately detailed rules for moving the tab bar. The ones to move the tab bar below the content start here, and incorporate several additional files:

https://github.com/Aris-t2/CustomCSSforFx/blob/master/classic/userChrome.css#L423

I have not tried it myself.

more options

jscher2000 said

As you may know, the author of Classic Theme Restorer maintains a large set of CSS files with intricately detailed rules for moving the tab bar. The ones to move the tab bar below the content start here, and incorporate several additional files: https://github.com/Aris-t2/CustomCSSforFx/blob/master/classic/userChrome.css#L423 I have not tried it myself.

THANKS @jscher2000! That worked.

Here's the link to the code is case someone reads this:

https://github.com/Aris-t2/CustomCSSforFx/blob/master/classic/css/tabs/tabs_below_main_content.css