Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: HTML::Template Tutorial

by kutsu (Priest)
on Dec 10, 2003 at 19:44 UTC ( #313831=note: print w/replies, xml ) Need Help??


in reply to HTML::Template Tutorial

Great Tutorial jeffa, great help in learning HTML::Template

As a css user though I had a hard time adding css to my templates and so I add these two solutions that I happened to find, hopeful they'll save someone some work/time.

Add the first or second solution somewhere in your <head>

First solution, the http is important:

<link rel="stylesheet" type="text/css" href="http://www.somesite.com/default.css" media="screen">

Second solution

<STYLE TYPE="text/css" MEDIA="screen"> <!-- @import url(http://www.somesite.com/default.css); --> </STYLE>

Update: Changed wording on where to add solution, to make less confusing

"Pain is weakness leaving the body, I find myself in pain everyday" -me

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://313831]
help
Chatterbox?
[TCLion]: at least that's the plan
[1nickt]: Corion this looks good, from the pod: "there are 9000+ variations that are detected correctly in the test files (see t/data/* for most of them). If you can think of any that I do not cover, please let me know."
[TCLion]: some moron put the date like this : Mon Feb 20 09:31:30 2017
[Corion]: 1nickt: Yes, the module sounds promising indeed
[1nickt]: "putting the date in correct order" how?
[Corion]: TCLion: Whee ;)
[TCLion]: need to put like this : 2017-02-20 09:30:53
[1nickt]: That's why I asked if you are using DateTime. It has a large number of supporting modules (the author likes the term 'eco-system') so if you are already creating a DateTime obj from your dates, this module would read in the mnoron-formatted 1s seamlessly
[TCLion]: when I put the date together it looks like : 2017-Feb-24 (month is the problem)
[1nickt]: good luck, then.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2017-03-23 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (288 votes). Check out past polls.