Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 04-28-2004, 09:35 AM   #1
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?


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
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15

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...



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
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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:42 PM.

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