LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2004, 09:35 AM   #1
dushkinup
Member
 
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144

Rep: Reputation: 15
CSS - Constants?


Hello.

I have a design for my site which includes a text logo. Does anybody know how can I put my text logo inside a constant and then call it whenever I need it?
 
Old 05-02-2004, 01:08 PM   #2
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
Hi,

I don't know if this will help you, but... instead of trying to have your text logo stored as a constant in the CSS file, why don't you store it in a javascript file and at the time of showing it, just create a function to display it

that way you leave the .css for the style and your js file for your logo...

Julio
 
  


Reply



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
two backgounds with CSS Boby Programming 2 11-25-2004 03:49 AM
html/css retrodict Programming 5 11-01-2004 06:56 PM
css cursor Doos Programming 4 10-15-2004 03:56 AM
html/css hylke Programming 0 06-27-2004 02:39 PM
How do you write binary literal constants in C? vasudevadas Programming 5 01-18-2004 07:39 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:38 AM.

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