The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)

20131015

how to specify richfaces/html tags in a css stylesheet for id values containing a colon, e.g. id="AAA:BBB:tu"

when richfaces renders IDs in html, often they contain colons like this:

<table id="AAA:BBB:tu"...

when i try using that id in a css stylesheet like this:

#AAA:BBB:tu td {
    display:none;
}


it doesn't work. however THIS works, both in firefox and internet explorer 10:

table[id='AAA:BBB:tu'] td {
    display:none;
}



thanks so much to handling css id and classes with spaces


No comments:

Post a Comment