...

View Full Version : Is there a global variable in css/html etc that can be used for indirection



effpeetee
02-23-2008, 04:40 PM
Is there a "global variable" in css/html etc that can be used for indirection in the manner of an accounts program. For example; put a url in the variable and be able to access it from any page.

Frank

liorean
02-23-2008, 04:54 PM
No variables whatsoever in HTML and CSS. You'd have to use JavaScript if you wanted one.
(Well, HTML has one variable I can think of: the base element. In CSS, the cascade and inheritance can sorta-kinda act like variables, but no, you don't have true variables in CSS. Yet. In CSS3, there might be some additional variable-like constructs to use.)

effpeetee
02-23-2008, 06:21 PM
Looks like I'll have to learn some more JScript.

Thanks.

Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum