and I want to style just the "title", not the rest of the content. If
possible, how?
jjb
Something like:
#wrapper-cbContextList > label
{
color: salmonpink;
}
Phil
--
Philip Chee <phi...@aleytys.pc.my>, <phili...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
> Hmm, I could not get this to work:
> #wrapper-cbContextList > label {
> color: #FF9933;
> }
> Got another guess?
> jjb
I made the assumption that you were attempting to apply the CSS to the
customize toolbar window. Perhaps I guessed wrong. Could you expand on
exactly which window and where you want to apply a style to the "title"
attribute?
The chromebug window, Context toolbar button:
http://code.google.com/p/fbug/source/browse/chromebug/branches/chromebug1.5/content/ChromeBug/chromebug.xul#253
jjb
Sorry I have no clue. Until chromebug works in SeaMonkey I can't
investigate the issue. As an aside, why did you use <hbox
id="cbCommandToolbox"> instead of a toolbar?
Also that file appears to suffer from extensively inconsistent
indentation issues.
It doesn't? What fails?
> As an aside, why did you use <hbox
> id="cbCommandToolbox"> instead of a toolbar?
Well I vaguely understand what an hbox is but I have no idea what a
toolbar is. On the other hand the real answer is "I don't know, I just
cribbed the code from somewhere".
>
> Also that file appears to suffer from extensively inconsistent
> indentation issues.
Really? Inconsistent with what?
>
> Phil
>
>> Sorry I have no clue. Until chromebug works in SeaMonkey I can't
>> investigate the issue.
> It doesn't? What fails?
No idea. Nobody has told me that it works in SeaMonkey. I just assumed
that it was purely a Firefox extension.
>> As an aside, why did you use <hbox
>> id="cbCommandToolbox"> instead of a toolbar?
>
> Well I vaguely understand what an hbox is but I have no idea what a
> toolbar is.
It's what you normally use to contain toolbarbuttons. Why else are they
called _toolbar_buttons? Because otherwise you'd just use plain old
<button>s if you didn't want to use a toolbar container for some obscure
reason.
> On the other hand the real answer is "I don't know, I just
> cribbed the code from somewhere".
I do hope you're not going to tell me you've never read Neil Deakins
extremely excellent and comprehensive tutorial previously at XUL planet
but which now lives on DevMo.
>> Also that file appears to suffer from extensively inconsistent
>> indentation issues.
>
> Really? Inconsistent with what?
With itself. Id est it is internally inconsistent. Please pick one
indentation style and stick to it. People studying your code will thank
you for it.
Phil
--
Philip Chee <phi...@aleytys.pc.my>, <phili...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Damn this hobby is expensive!
* TagZilla 0.066.6
Chromebug is a XUL application debugger based on a Firefox addon. dmose
has had success on Thunderbird. There are issues because Chromebug still
relies on some Firefox files and because I only work on Firefox myself.
>
>>> As an aside, why did you use <hbox
>>> id="cbCommandToolbox"> instead of a toolbar?
>> Well I vaguely understand what an hbox is but I have no idea what a
>> toolbar is.
>
> It's what you normally use to contain toolbarbuttons. Why else are they
> called _toolbar_buttons? Because otherwise you'd just use plain old
> <button>s if you didn't want to use a toolbar container for some obscure
> reason.
I don't know what is broken, the hbox seems to work ok?
>
>> On the other hand the real answer is "I don't know, I just
>> cribbed the code from somewhere".
>
> I do hope you're not going to tell me you've never read Neil Deakins
> extremely excellent and comprehensive tutorial previously at XUL planet
> but which now lives on DevMo.
Well my reading and understanding are not quite as similar as I'd like.
>
>>> Also that file appears to suffer from extensively inconsistent
>>> indentation issues.
>> Really? Inconsistent with what?
>
> With itself. Id est it is internally inconsistent. Please pick one
> indentation style and stick to it. People studying your code will thank
> you for it.
Sorry I'd need an example. It seems ok to me.
jjb