By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,196 Members | 1,866 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,196 IT Pros & Developers. It's quick & easy.

css selector as alias of another

P: n/a
is it possible, create a selector as alias of another selector...
(maybe) in another stylesheet file?


html page
<link rel="stylesheet" type="text/css" href="style1.css" />
<link rel="stylesheet" type="text/css" href="style2.css" />
<span class="test1">test1</span>
<span class="test2">test2</span>

font-size: 20px;

# syntax to get style's information from another selector in another
stylesheet (ex: .test in style1.css file)

another way that I have found is this below...


color: #000000;
font-size: 40px;
font-weight: bold;

but it don't work... or my syntax is incorrect... you can help me?

Mar 28 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.