Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Tag arrays and CSS external style sheets?
Old 06-13-2008, 10:40 AM Tag arrays and CSS external style sheets?
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
This might not be possible, but one never knows?

I want to have tags with names like:

<div id=layer(x)...

And attach a style sheet that will define them without regard to the (x),

#layer(){
...
}

Please excuse my syntax, can anyone help?
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-13-2008, 10:53 AM Re: Tag arrays and CSS external style sheets?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
No it's not.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-13-2008, 05:19 PM Re: Tag arrays and CSS external style sheets?
beta's Avatar
Extreme Talker

Posts: 169
Trades: 0
If i understand what you want to do then you could achieve it by using something like:

<div id='layer' class='x'>
<div id='layer' class='y'>
<div id='layer' class='z'>...

and write the stylesheet accordingly, that way you would have your master 'layer' id and the more selective classes.
beta is offline
Reply With Quote
View Public Profile
 
Old 06-13-2008, 05:28 PM Re: Tag arrays and CSS external style sheets?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Nope, other way around. IDs HAVE to be unique
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-13-2008, 05:41 PM Re: Tag arrays and CSS external style sheets?
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
I am not sure what you are trying to do.
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Tag arrays and CSS external style sheets?
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30712 seconds with 12 queries