Recommended Posts

I've got a little question, well two.

Is it possible to change the bookmarks font size and those separators ?.

And if it is possible to change the separators , is it also possible to use an img for them ?.

Thanks! :D

( Awesome thread btw, give me a lot of ideas to play with ).

Just curious because I'm rather new to all this css stuff

Is there any advantage of border-color: transparent over border: none?

Can't see any difference between our code snippets.

border:none completely removes the border while border-color:transparent maintains the border while making it transparent.

Basically you lose the width of the border if you remove it completely.

border is shorthand for border-style/width/color, so you're setting the style to "none" which removes the border completely.

border: none is the same as border-style: none

border:none completely removes the border while border-color:transparent maintains the border while making it transparent.

Basically you lose the width of the border if you remove it completely.

border is shorthand for border-style/width/color, so you're setting the style to "none" which removes the border completely.

border: none is the same as border-style: none

Thanks

Good explanation :)

I am trying to update this style for Firefox 4.0 RC but I have a problem.

http://userstyles.org/styles/40211/

Some AppMenu items without "iconic=true" attribute can't be styled as an iconic menu, such as appmenu_newTab (New Tab), #appmenu_customize (Options), #appmenu_help (Help).

I tried the usual

-moz-binding:url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel")

to add the icon, but it didn't work.

so I tried all possible bindings I could think of, nothing worked.

any ideas? please!

I am trying to update this style for Firefox 4.0 RC but I have a problem.

http://userstyles.org/styles/40211/

Some AppMenu items without "iconic=true" attribute can't be styled as an iconic menu, such as appmenu_newTab (New Tab), #appmenu_customize (Options), #appmenu_help (Help).

I tried the usual

-moz-binding:url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel")

to add the icon, but it didn't work.

so I tried all possible bindings I could think of, nothing worked.

any ideas? please!

adding .splitmenu-menuitem to

menuitem[label]:not(.searchbar-engine-menuitem)
{-moz-binding:url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel")!important}

will make those three icons show, but you'll still have to adjust margins/padding for alignment

Hi

I'm using this extension https://addons.mozilla.org/pl/firefox/addon/extended-statusbar/ to show load speed and other loading values, like You can see on screen, bar is quite long and infos are only in 1/3 parts of length:

post-375134-0-18344800-1300375843.jpg

So I was wonder if there is possibility to change this bar length to red line and make it bit flexible, so if there is more infos, bar will be bit longer or shorter.

lol, I hope it is clear?

Can some one help me fix this code so it's updated for Firefox 4? It was made way back in Firefox 2 I think when app tabs didn't exist. :laugh:

Right now it works just fine but it widens the app tabs as well and that sort of breaks things:

@-moz-document url("chrome://browser/content/browser.xul") {
tab[selected="true"] {
min-width: 250px !important;
}
tab:not([selected="true"]) {
max-width: 150px !important;
}
/* comment the following if you find the resize on hover bothersome */
tab:not([selected="true"]):hover {
min-width: 250px !important;
}
}

Also, does anyone know about using gdipp.dll with Firefox 4? I currently only have the 64-bit version installed but I read that only works with 64-bit programs (oddly enough..) and I would need to install the x86 version to make it work with non 64-bit programs like firefox. If it can eve work with firefox that is.

Can some one help me fix this code so it's updated for Firefox 4? It was made way back in Firefox 2 I think when app tabs didn't exist. :laugh:

Right now it works just fine but it widens the app tabs as well and that sort of breaks things:

@-moz-document url("chrome://browser/content/browser.xul") {
tab[selected="true"] {
min-width: 250px !important;
}
tab:not([selected="true"]) {
max-width: 150px !important;
}
/* comment the following if you find the resize on hover bothersome */
tab:not([selected="true"]):hover {
min-width: 250px !important;
}
}

Also, does anyone know about using gdipp.dll with Firefox 4? I currently only have the 64-bit version installed but I read that only works with 64-bit programs (oddly enough..) and I would need to install the x86 version to make it work with non 64-bit programs like firefox. If it can eve work with firefox that is.

So you want to avoid that this code is affecting app tabs right?

If that is what you mean try this:

tab:not([pinned])[selected="true"] {
min-width: 250px !important;
}
tab:not([pinned]):not([selected="true"]) {
max-width: 150px !important;
}
/* comment the following if you find the resize on hover bothersome */
tab:not([pinned]):not([selected="true"]):hover {
min-width: 250px !important;
}

So you don't want this code to work for app tabs right?

If this is what you mean try this:

tab:not([pinned])[selected="true"] {
min-width: 250px !important;
}
tab:not([pinned]):not([selected="true"]) {
max-width: 150px !important;
}
/* comment the following if you find the resize on hover bothersome */
tab:not([pinned]):not([selected="true"]):hover {
min-width: 250px !important;
}

That works but it seems to restrict tabs to the min-width until the tab is hovered.

Edit: fixed.. I just removed the min-width part. Thanks! And welcome to Neowin! :yes:

That works but it seems to restrict tabs to the min-width until the tab is hovered.

Edit: fixed.. I just removed the min-width part. Thanks! And welcome to Neowin! :yes:

Thank you :)

Isn't this code supposed to restrict the min-width?

Make sure to check tab overflow when you take that part out.

Looks weird when it gets 250px on hover and then jumps back to the overflow-width once you select it.

Or do you mean something else?

Edit: found a bug in that code. When you close a tab while its hovered but not selected it gets a "ghost tab" and just leaves an empty space. This works for me (still with the min-width part in it)

tab:not([pinned])[selected="true"] {
	min-width: 250px !important;
}

tab:not([pinned]):not([selected="true"]) {
	max-width: 150px !important;
}

tab:not([fadein]):not([pinned]):not([selected="true"]) {
 	max-width: 1px !important;
 	min-width: 1px !important;
}

/* comment the following if you find the resize on hover bothersome */
	tab:not([pinned]):not([selected="true"]):hover {
	min-width: 250px !important;
}

Edit 2: close animation is choppy for a reason i can't see at the moment

I was getting the ghost tabs and choppy close animation as well. Anyways, thanks again! I'll try that new code.

I have NO clue why this fixed it but this is working for me.

(Again with min-width because I'm not sure what you meant)

tab:not([pinned])[selected="true"] {
        min-width: 250px !important;
}

tab:not([pinned]):not([selected="true"]) {
        max-width: 150px !important;
}

tab:not([fadein]):not([selected="true"]) {
        max-width: 1px !important;
        min-width: 1px !important;
}

/* comment the following if you find the resize on hover bothersome */
        tab[fadein]:not([pinned]):not([selected="true"]):hover {
        min-width: 250px !important;
}

It's hard to describe exactly. :laugh:

I wanted the tab width to follow normal behavior but not shrink past the 150px width no matter what. Not be restricted to 150px until it's hovered. I hope that makes sense because I'm not sure exactly how to describe what I was trying to achieve.

So until the tab bar is filled up the tab width would stay at 250px and then shrink but not get smaller than 150px??? I don't know, again I hope it makes sense because I'm just confusing myself, now. :rofl:

It's hard to describe exactly. :laugh:

I wanted the tab width to follow normal behavior but not shrink past the 150px width no matter what. Not be restricted to 150px until it's hovered. I hope that makes sense because I'm not sure exactly how to describe what I was trying to achieve.

So until the tab bar is filled up the tab width would stay at 250px and then shrink but not get smaller than 150px??? I don't know, again I hope it makes sense because I'm just confusing myself, now. :rofl:

So ALL tabs are supposed to be 250px until overflow

With overflow only the selected tab is supposed to be 250px, all other tabs normal behavior but restricted to min 150px?

Again: I don't see why tab animation got fixed but its working for me

tab:not([pinned])[selected="true"] {
        min-width: 250px !important;
}

tab:not([pinned]):not([selected="true"]) {
        min-width: 150px !important;
}

tab:not([fadein]):not([selected="true"]) {
        max-width: 1px !important;
        min-width: 1px !important;
}

/* comment the following if you find the resize on hover bothersome */
        tab[fadein]:not([pinned]):not([selected="true"]):hover {
        min-width: 250px !important;
}

tab:not([pinned])[selected="true"] {
        min-width: 250px !important;
}

tab:not([pinned]):not([selected="true"]) {
        min-width: 150px !important;
}

tab:not([fadein]):not([selected="true"]) {
        max-width: 1px !important;
        min-width: 1px !important;
}

/* comment the following if you find the resize on hover bothersome */
        tab[fadein]:not([pinned]):not([selected="true"]):hover {
        min-width: 250px !important;
}

Can't edit my post so..yeah..new post. I found a flaw in this. It breaks the tabs in the stratiform addon. :wacko:

Can't edit my post so..yeah..new post. I found a flaw in this. It breaks the tabs in the stratiform addon. :wacko:

What exactly are you trying to do? Do you want the selected tab to be larger than the inactive ones?

What exactly are you trying to do? Do you want the selected tab to be larger than the inactive ones?

I was trying to make it so that when I had a lot of tabs open the selected tab (but not pinned tabs) would be the full 250px width, and also the hovered tab resizes to full width as well so I can see the name. Not a huge deal if it can't be made to work without breaking other addons.

I was trying to make it so that when I had a lot of tabs open the selected tab (but not pinned tabs) would be the full 250px width, and also the hovered tab resizes to full width as well so I can see the name. Not a huge deal if it can't be made to work without breaking other addons.

I see. Give this a try:

.tabbrowser-tab[fadein] {
  max-width: 150px !important;
}

.tabbrowser-tab[fadein]:not([pinned])[selected],
.tabbrowser-tab[fadein]:not([pinned]):hover {
  width: 250px !important;
  max-width: 250px !important;
}

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Gotenks98 is right... Outlook (new) is absolute trash. Doesn't Mozilla have an Enterprise Version of Firebird?
    • Microsoft Weekly: Surface Laptop Ultra, Windows 11 context menus, Build 2026 recap, and more by Taras Buria This week's news recap is here, with Microsoft announcing the new Surface Laptop Ultra, fresh chips from NVIDIA for Windows on ARM, a no-build week, fixes for Windows 11's context menus, gaming news, reviews, and more. Quick links: Windows 10 and 11 Windows Insider Program Updates are available Reviews are in Gaming news Great deals to check Windows 11 and Windows 10 Here, we talk about everything happening around Microsoft's latest operating system in the Stable channel and preview builds: new features, removed features, controversies, bugs, interesting findings, and more. And, of course, you may find a word or two about older versions. At Computex 2026, together with NVIDIA, Microsoft announced the Surface Laptop Ultra, its most powerful laptop to date, powered by NVIDIA's RTX Spark processor. Details about this computer are currently scarce, as Microsoft has only revealed certain parts of its specs. So far, we know that the computer has a 15-inch mini-LED display, a rich set of ports, a powerful processor, and all-day battery life. It also comes with a new wallpaper, which you can already download here in full resolution. The Surface Laptop Studio is not the only NVIDIA-powered Surface, which Microsoft unveiled this week. At Build 2026, the company also debuted the Surface RTX Spark Dev Box, an odd-shaped desktop with a 20-core NVIDIA Grace CPU and an NVIDIA Blackwell RTX GPU with 6,144 CUDA cores and fifth-generation Tensor Cores with FP4 precision, connected via the NVIDIA NVLink-C2C chip-to-chip interconnect for high performance. According to Microsoft, it can run models with up to 120 billion parameters locally without relying on cloud GPU infrastructure. These two new Surface devices are likely to cost quite a lot, and for those who need a more affordable device, Microsoft is preparing the next-gen Qualcomm-powered Surface Pro and Surface Laptop. This week, details about these two devices leaked in plenty of detail. Other announcements at Build 2026 include the following: Microsoft unveils new security tools for IT admins and developers building AI products Microsoft announces Scout, an OpenClaw-powered personal agent for enterprise customers Microsoft unveils MAI-Thinking-1 reasoning and MAI-Code-1 coding models Microsoft announced a new Windows 11 native command-line utility Microsoft unveils Majorana 2 quantum chip, accelerating commercial timeline to 2029 Microsoft believes that AI agents will eventually replace apps through Project Solara Microsoft introduces Web IQ, a Bing-powered search system built for AI agents Last week, Microsoft released a new Experimental build, which introduced a major Start menu upgrade. It now lets you toggle off specific parts of the menu without affecting other features, resize the menu, and hide additional UI elements. We published a closer look here, so if you want to know what Microsoft is cooking without enrolling in the Insider program and installing unstable builds, check it out. Speaking of new features, many users are very annoyed about the way Microsoft delivers them. Recently, a frustrated user shared their experience with gradual rollouts, and even Microsoft engineers admitted there is a flaw in the system that prevents new features from applying properly. One of those new features includes the ability to uninstall AI models in Windows 11 with a single click. Windows 11 is finally getting fixes for its slow context menus. Marcus Ash from Microsoft confirmed that the company is working on fixing Windows 11's context menus. Reworked context menus are going to be faster, simpler by default, and "configurable to what you use most." According to Marcus, Microsoft will share more details soon. Windows Insider Program Windows 11 preview builds, released last week, are now available for download as standalone ISO files. These days, Microsoft regularly pushes new images, allowing users to clean-install its recent Windows 11 preview builds faster and easier. If you want to try the latest Windows 11 features without jumping through the Windows Update hoops, get those new images here. Sadly, Microsoft did not release new Windows 11 preview builds this week. Come back next time. Updates are available This section covers software, firmware, and other notable updates (released and coming soon) delivering new features, security fixes, improvements, patches, and more from Microsoft and third parties. Microsoft is preparing new features for Teams. Later this month, the messenger will receive a new download manager with auto-dismissing notifications, reducing clutter and making the overall experience less annoying when dealing with downloads. Mozilla released Firefox 151.0.3, a new bug-fixing update for the browser. It is a small release, which fixes problems with pasting into text fields and the oversized VPN button on the toolbar. The update is now available for all users in the Release channel. Here are other updates and releases you may find interesting: VS Code 1.123 introduces massive upgrades for persistent AI developer workflows Microsoft OneDrive is getting a simple yet much-needed feature Microsoft faces heat after quietly blocking promised Office features on Apple systems Microsoft resumes forced Copilot app installation on some Windows PCs Browser vendors pen an open letter to Microsoft, saying "enough is enough" Here are the latest drivers and firmware updates released this week: AMD Radeon Software 26.6.1 with optimizations for F1 25: 2026 Season, World of Tanks: HEAT, and various bug fixes. Reviews are in Here is the hardware and software we reviewed this week Steven Parker dropped more mini PC reviews this week. GEEKOM Air12 2026 Edition is a low-power, affordable computer with an Intel Tiger Lake Pentium Gold processor, up to 16GB of memory, and 512GB of storage, costing just $349. It is light, quiet, energy efficient, and has modern ports on the front. However, the front-facing USB Type-C is data-only, and there are some quirks with the computer's memory, so check out the full review. The AMD RX 9070 GRE has been released worldwide, and we published a benchmark review comparing this powerful graphics card to the RX 9070 XT, 7800 XT, the NVIDIA RTX 5070, and RTX 4070. It has solid, balanced performance, plenty of RAM, and low temperatures, but watch out for mediocre ray tracing performance and not the best efficiency. Also, we reviewed the Cuktech 10 Ultra, a compact, high-power charger with four ports and a big display full of various stats. This tiny charger can pull nearly 120W and spread that power according to each connected device's needs. It also comes with a high-quality 240W cable, three power modes, and retractable prongs. The best part? It is quite affordable, just make sure you have an outlet placed in the right spot to benefit from the built-in display. On the gaming side Learn about upcoming game releases, Xbox rumors, new hardware, software updates, freebies, deals, discounts, and more. Do you remember the ASUS ROG Xbox Ally, Microsoft's first handheld console designed in partnership with ASUS? This week, ASUS revealed a new version of the device to celebrate twenty years of its Republic of Gamers brand. The new ROG Xbox Ally X20 features an OLED display, a transforming D-Pad, TMR sticks, and other changes. However, the chip inside the console is still the same. Forza Horizon 6 launched last month to critical acclaim, but the game will soon have a new rival made by those who used to work on Forza Horizon titles. Mike Brown from Maverick Games announced Clutch, an upcoming racing game with a story-driven campaign, deep car customization, and rich multiplayer. The game is coming to PC, Xbox Series X|S, and PlayStation 5 in Spring 2027. The next update for Minecraft now has a release date. This week, Mojang announced that Chaos Cubed will be available on June 16, 2026. In addition, Mojang published a teaser of the next Minecraft movie. A Minecraft Movie Squared has now been confirmed for a release somewhere in 2027. NVIDIA GeForce Now is getting 18 new games in June. Those include Jurassic World Evolution 3, Fatekeeper, GOALS, Gothic 1 Remake, NTE: Neverness to Everness, and more. If you are a Game Pass subscriber, you can also get new games soon: Persona 5 Royal, Starseeker: Astroneer Expeditions, and more are coming to the service this month. Sumer Game Fest 2026 happened this week, where we saw plenty of new games, including Alien Isolation 2, Final Fantasy VII Remake Part 3, Gen Atlas from the Shadow of the Colossus creator, a new Cuphead game in 8-bit style, a new expansion for Mafia: The Old Country, and more. Finally, here are this week's Weekend PC Game Deals, full of discounts and the latest freebies from the Epic Games Store. Other gaming news includes the following: God of War Laufey announced, introducing Kratos' wife as the new protagonist Ori studio's No Rest for the Wicked 1.0 release and console plans announced Microsoft launches Godot Sample to streamline Xbox PC game development on the engine Great deals to check Every week, we cover many deals on different hardware and software. The following discounts are still available, so check them out. You might find something you want or need. Samsung 990 PRO SSD 2TB NVMe - $389.99 | 39% off Sonos Sub 4 - Wireless Subwoofer - $759 | 16% off Logitech MX Creative Console - $159.99 | 20% off This link will take you to other issues of the Microsoft Weekly series. You can also support Neowin by registering for a free member account or subscribing for extra member benefits, along with an ad-free tier option.
    • Let's goooooooo! I've been loving the entries so far! I still have to finish Rebirth (things have been busy!)! Excited for this next installment.
    • "Revelation?" I was hoping for this episode to be called "Reunion". Oh, well... In a related note, the Final Fantasy VII compilation has received an EC entry, short for Ever Crisis. For those who don't know, it already had AC, BC, CC, and DC entries, short for Advent Children, Before Crisis, Crisis Core, and Dirge of Cerberus. I hope it doesn't get an FC entry becaude that would be a freakin' crisis.
  • Recent Achievements

    • Week One Done
      pestcontrol46 earned a badge
      Week One Done
    • One Month Later
      pestcontrol46 earned a badge
      One Month Later
    • Week One Done
      JKR earned a badge
      Week One Done
    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
  • Popular Contributors

    1. 1
      +primortal
      515
    2. 2
      PsYcHoKiLLa
      277
    3. 3
      Skyfrog
      76
    4. 4
      +Edouard
      71
    5. 5
      FloatingFatMan
      68
  • Tell a friend

    Love Neowin? Tell a friend!