/    Sign up×
Community /Pin to ProfileBookmark

Getting Element with period in the id name

Hello Everybody! I have a big problem:
I have to give some style for a page which is parsed with a robust perl CMS system. But there are some element id’s which I can’t get from css by it’s selector, because it contains a period (like <span id=”name.joe”>…</span> )

Is there any way to get these elements without hacking the perl code?

Thank’s for the answers!

chron

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@ryanbutlerJun 27.2007 — I don't think there is besides as you said modifying the Perl script. Though I don't think doing this would be terribly difficult. Do an if statement checking for all selectors which have a period in it and modify the output to strip the period out and join them as one word.
Copy linkTweet thisAlerts:
@chronotypeauthorJun 27.2007 — This was my first idea, too... but I thought, that there is some markup-free/script-free solution for it (have you ever heard about css escape character ? - not a bad idea I'll google it)
Copy linkTweet thisAlerts:
@chronotypeauthorJun 27.2007 — And Yess! Markup free solution - sorry, I didn't have time before, to search for it - the solution: http://annevankesteren.nl/test/css/selectors/004.html
×

Success!

Help @chronotype spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...