Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6046337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:13:39+00:00 2026-05-23T07:13:39+00:00

iam writing a simple firefox toolbar, but i have failed to set a few

  • 0

iam writing a simple firefox toolbar, but i have failed to set a few list style images with css. Please help.
//

katimbatoolbar.css

(found in chrome/skin) folder

#katimbatoolbarstart
{
    list-style-image :url("chrome://katimbatoolbar/skin/button-1.png");
}

katimbatoolbar.xul (my user interface file, found in "chrome/content/" folder)

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://katimbatoolbar/skin/tuttoolbar.css" type="text/css"?>

<overlay id="katimbatoolbaroverlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
         
    <script type="application/x-javascript"
            src="chrome://katimbatoolbar/content/katimbatoolbar.js" />
            
    <toolbox id="navigator-toolbox">
    
        <toolbar id="katimbatoolbar" toolbarname="katimba suite" accesskey="k"
                 class="chromeclass-toolbar" context="toolbar-context-menu" 
                 hidden="false" persist="hidden">
                <toolbarbutton id="katimbatoolbarstart" tooltiptext="start surfing using katimba ++"
                    label="Start" oncommand="katimbaClass.installLocalHost()"/>                     

        </toolbar>
    </toolbox>
</overlay>

Here is my chrome.manifest file

content katimbatoolbar chrome/content/
overlay chrome://browser/content/browser.xul chrome://katimbatoolbar/content/katimbatoolbar.xul
skin katimbatoolbar classic/1.0 chrome/skin/

The toolbar works fine, but really looks ugly since the css is not working. Any help appreciated in advance.
By the way, Here is my folder structure

mytoolbar/
          install.rdf
          chrome.manifest
          chrome/
                content/
                    katimbatoolbar.xul
                    katimbatoolbar.js
                skin/
                    katimbatoolbar.css
                    button-1.png
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:13:40+00:00Added an answer on May 23, 2026 at 7:13 am

    In your XUL file you reference chrome://katimbatoolbar/skin/tuttoolbar.css while the file in your folder structure is called katimbatoolbar.css. Plus, you define

    content katimbatoolbar chrome/content/
    

    but the folder structure starts with mytoolbar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a simple Firefox extension which has an icon in the toolbar.
I am writing a simple little DSL for specifying constraints on messages, and Have
I am writing a simple program to calculate the average of a set of
I am writing simple blog with CodeIgniter and DataMapper and I have problem with
Iam writing a simple Java program for an assignment,which implements a library system using
I am writing some simple AST visitors for the Eclipse JDT. I have a
I am writing a PHP class that is broken down to a few simple
I am writing a simple VM and I have a question on implementing object
I am writing simple parallel program in C++ using OpenMP. I am working on
I am writing simple site that requires users and profiles to be handled. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.