republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Mozilla Software » [FireFox] Close tab button in 3.5 RC2
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Firefox 3.5.1 crashes with Chase banking website »
« [FireFox] Problem Re-opening Firefox  
AuthorAll Replies


Sanjay

@ntl.com


from:
amazingm See Profile

reply to norky
Re: [FireFox] Close tab button in 3.5 RC2

Add the following code to userChrome.css

Important:
Also go into about:config and change
browser.tabs.closeWindowWithLastTab to false.

/* Add tab-close-button to last tab*/
.tabbrowser-tabs[closebuttons="alltabs"] > .tabbrowser-tab >
.tab-close-button { display: -moz-box !important; }
.tabbrowser-tabs:not([closebuttons="noclose"]):not
([closebuttons="closeatend"]) >
.tabbrowser-tab[selected="true"] > .tab-close-button { display: -moz-
box !important; }


amazingm
Premium
join:2001-07-16
USA

said by Sanjay :

Add the following code to userChrome.css

Important:
Also go into about:config and change
browser.tabs.closeWindowWithLastTab to false.

/* Add tab-close-button to last tab*/
.tabbrowser-tabs[closebuttons="alltabs"] > .tabbrowser-tab >
.tab-close-button { display: -moz-box !important; }
.tabbrowser-tabs:not([closebuttons="noclose"]):not
([closebuttons="closeatend"]) >
.tabbrowser-tab[selected="true"] > .tab-close-button { display: -moz-
box !important; }
Thanks for the tip. Now, at least I am able to close the last tab with ctrl-w. However, after changing the setting in about:config to false and creating a userChrome.css file in my profile with the text you included, the last tab still does not have a close button.


mod_wastrel

join:2008-03-28
·magicjack.com


2 edits
Worked for me (only after I cleaned up the formatting to ensure line-endings didn't interfere with white-space et al**). Also works fine in Stylish.

**Oddly, I repeated the process just now: copy & paste as is (no re-formatting) and it still works... but it didn't work the first time I did it--don't know why.


amazingm
Premium
join:2001-07-16
USA
I decided to try again after seeing your post and sure enough it does work.

Thanks for the tip Sanjay.
-
Forums » Tech and Talk » OS and Software » Mozilla SoftwareFirefox 3.5.1 crashes with Chase banking website »
« [FireFox] Problem Re-opening Firefox  


Wednesday, 02-Dec 16:55:13 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [159] Comcast Releasing Promised Usage Meter
· [88] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [78] Latest Consumer Reports Survey Not Kind To AT&T
· [70] Baltimore To Ban Lazy Cable Installs
· [61] Broadband Killed The Game Console
· [54] Rogers Unveils The ISP Dream Model
· [46] ACTA: Global Three Strikes
· [41] Rural Carriers Quickly Embracing Fiber
· [38] Charter Exits Chapter 11
· [33] AT&T Top Lobbyist Cicconi Has His Feelings Hurt
Most people now reading
· MS admits Windows Updates principally created to annoy [Security]
· UBB round 2 at the CRTC [Canadian Broadband]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Quality/longevity of 15A 120V receptacles [Home Repair & Improvement]
· Working in a Stairwell and Surrounding High Walls [Home Repair & Improvement]
· [Business] how to bridge a smc 8014 business class modem [Comcast HSI]
· Using AirMax to provide triple play services? [Wireless Service Providers]
· [Scam] Cruise line mail? [Spam, Scam and Phishbusters]
· A little freaky, not sure if its legit. [Spam, Scam and Phishbusters]
· Am I the only one that loves to work in IT? [No, I Will Not Fix Your #@$!! Computer]