[Catalyst] CSS file how to?

Mitch Jackson perimus at gmail.com
Fri May 9 21:29:42 BST 2008


I'm not quite sure what you are asking.

Do you mean you wish to include the output of the CSS file into
another template when it is parsed?  In this case, the PROCESS
statement should work.

You may wish to consule the documentation at template-toolkit.org

/Mitchell Jackson

On Fri, May 9, 2008 at 1:06 PM, gaurav001 <gmpatel001 at yahoo.com> wrote:
>
> THanks for quick reply...
> yes, i could see css file in text format in browser...
> but any how i made it using [% PROCESS course/static.css %] in tt2 file
> you have any better idea?
> thanks
>
>
> Mitch Jackson wrote:
>>
>> When you try to visit the css file in the browser, what kind of output
>> do you get?
>> http://localhost:3000/src/course/static.css
>>
>> /Mitchell Jackson
>>
>> On Fri, May 9, 2008 at 10:27 AM, gaurav001 <gmpatel001 at yahoo.com> wrote:
>>>
>>> Hello Gurus,
>>> I am facing problem defining CSS file.
>>> my view.fb file is
>>>
>>> name: Overview
>>> method: post
>>> stylesheet: 'http://localhost:3000/src/course/static.css',
>>>
>>> and CSS file is like this::::::::::
>>>
>>>
>>> .fb_menutitle{
>>> cursor:pointer;
>>> margin-bottom: 5px;
>>> background-color:#CCCC33;
>>> color:#000000;
>>> width:140px;
>>> padding:2px;
>>> text-align:center;
>>> font-weight:bold;
>>> /*/*/border:1px solid #000000;/* */
>>> }
>>>
>>> .fb_submenu{
>>> margin-bottom: 0.5em;
>>> background-color:#FFCC66;
>>> color:#000000;
>>> width:140px;
>>> padding:2px;
>>> }
>>>
>>> .fb_content{
>>> position: absolute;
>>> left: 200px;
>>> top: 50px;
>>> }
>>>
>>> .fb_rightcontent{
>>> position: absolute;
>>> left: 775px;
>>> top: 50px;
>>> }
>>>
>>> =====================================
>>> I defined correctly in HTML file...it doesnt call my static.css
>>> file...how
>>> can i ?
>>>
>>> Plz help me
>>> Thank you
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/CSS-file-how-to--tp17150479p17150479.html
>>> Sent from the Catalyst Web Framework mailing list archive at Nabble.com.
>>>
>>>
>>> _______________________________________________
>>> List: Catalyst at lists.scsys.co.uk
>>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>>> Searchable archive:
>>> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>>> Dev site: http://dev.catalyst.perl.org/
>>>
>>
>> _______________________________________________
>> List: Catalyst at lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>> Dev site: http://dev.catalyst.perl.org/
>>
>>
>
> --
> View this message in context: http://www.nabble.com/CSS-file-how-to--tp17150479p17153401.html
> Sent from the Catalyst Web Framework mailing list archive at Nabble.com.
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



More information about the Catalyst mailing list