Re: listbox elements

Martin Kessler <[email protected]> Sun, 13 Mar 2005 20:46:43 +0100
Newsgroups gmane.comp.lang.xul.general
Message-ID <[email protected]>
Matthew Raymond wrote:

> Martin Kessler wrote:
>
>> This is the source that doesn´t work:
>> <?xml version="1.0"?>
>> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
>> <window id="example-window" title="Example 2.5.1"
>>         xmlns:html="http://www.w3.org/1999/xhtml"
>>         
>> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
>> <listbox>
>>   <listitem label="Butter Pecan"/>
>>   <listitem label="Chocolate Chip"/>
>>   <listitem label="Raspberry Ripple"/>
>>   <listitem label="Squash Swirl"/>
>> </listbox>
>> </window>
>>
>> Maybe one of you can help me, that would be very nice. I´m looking 
>> forward for any answer.
>
>
>    If I cut and paste this into a file, then drag-drop the file into 
> Firefox, it works fine. What Gecko-based browser are you using and 
> what version?
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> xul-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xul-talk
>
Thank you for your quick an helpful answer. In firefox it works perfectly.
I´ve tried it in Gecko-based SuZilla. No idea why it doesn´t work there.

Maybe because of the
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
reference in the code. But that´s not so important for me, I´m satisfied 
with firefox.

Thanks again for answerin my newbie question
bye
Martin Kessler


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click