/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Descendant selectors not working with ASP extension?!

Hi-

I have a CSS sidebar menu that uses descendant selectors (an ID in the ‘body’ tag and one in the ‘a’ tag) to turn on links if the ID in the page matches the selector in my stylesheet. Everything works fine as long as the extension in the link to be turned on isn’t .asp. This is the oddest behaviour and I’m absolutely stymied!

Has anyone ever encountered this before? I’m using a code structure identical to that in “CSS Cookbook”. Example pages as follows:

[url]http://www.coalescentdesign.com/dev/dtm/2006/_business/assessment.asp[/url]
This page works as the “on” link in the sidebar ends in “.html”

[url]http://www.coalescentdesign.com/dev/dtm/2006/_business/accounting.asp[/url]
This link doesn’t turn on as the link has the “.asp” extension

I’ve tried other extensions and the code works fine (ie. php, aspx, etc). I have to use .asp for these pages – .aspx is not an option.

Also, the behaviour is the same across multiple browsers…is this some weird server issue or am I missing something else?

Thanks,
Smurlin

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonMay 08.2006 — Get rid of the :link part of the selector.
Copy linkTweet thisAlerts:
@smurlinauthorMay 08.2006 — Duh! Thanks so much...needed a fresh set of eyes.

Cheers,

smurlin
Copy linkTweet thisAlerts:
@David_HarrisonMay 08.2006 — Happy to help. ?
×

Success!

Help @smurlin 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.27,
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,
)...