LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2008, 04:59 PM   #1
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Rep: Reputation: 32
Post Perl& Css


hi to all .
i was just wondering if i can add a CSS design to a perl site ??
thanks guys .
 
Old 10-04-2008, 06:06 PM   #2
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
From it's definition CSS is a stylesheet language used to describe the presentation of a document written in a markup language.

From what I know perl is a scripting language.
But I am sure you can apply css to perl generated html code

Last edited by ddaemonunics; 10-04-2008 at 06:11 PM.
 
Old 10-04-2008, 06:17 PM   #3
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by ddaemonunics View Post
From it's definition CSS is a stylesheet language used to describe the presentation of a document written in a markup language.

From what I know perl is a scripting language.
But I am sure you can apply css to perl generated html code
hmm .
that what i was wondering as will , it seems like both could do the same job . i just wanted to create like one script that holds all html layout for all other pages that i would create without writing them all over again . same as in CSS ?? , but thanx . i would see if i could find anything
 
Old 10-05-2008, 06:55 AM   #4
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
Well you can create the html layout in one perl file and include it in other file..
In php you use the include or require statements
I' am sure the include statement in available in perl
So all you need are 2 files one with perl generated html code and the other with css declarations witch will be included in all the files you need.

Last edited by ddaemonunics; 10-05-2008 at 11:03 AM.
 
Old 10-05-2008, 09:09 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,349

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
There's a whole bunch of Perl CSS modules, starting here: http://search.cpan.org/~iamcal/CSS-1.08/CSS.pm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Art & Science of CSS LXer Syndicated Linux News 0 08-12-2007 11:11 PM
HTML/CSS/JS: Problem with <p> not having an absolute position with CSS. RHLinuxGUY Programming 7 03-03-2007 12:21 AM
RHEL4u2 perl localtime() call issues (perl & glibc) Brad.Scalio@noaa.gov Linux - Enterprise 3 01-23-2007 09:27 PM
httpd2 & css rblampain Programming 1 09-19-2005 03:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration