I couldn't believe it the first twenty times you told us, but it's starting to sink in now.

Riley ,'Lessons'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


§ ita § - Apr 06, 2009 1:48:36 pm PDT #9639 of 25501
Well not canonically, no, but this is transformative fiction.

More CSS questioning. If I have a list setup like this:

t ul class="class_list"
t li class="class_item"
List item t /li
t /ul

How do I, in CSS, specify ::before, say, for the list item? It took me a million years to work out a way to specify a generic t li in this instance (ul.class_list li::before), but I keep breaking things trying to style the more complicated example.


Restless - Apr 06, 2009 2:10:18 pm PDT #9640 of 25501
Lurkers are like posting board ninjas!

ul.class_list li.class_item:before {...}

Should work. Also: according to this IE8 is not good with double colons. So I would recommend sticking with single colons for the standard selectors.


§ ita § - Apr 06, 2009 2:16:40 pm PDT #9641 of 25501
Well not canonically, no, but this is transformative fiction.

Thanks! I could have sworn I tried that. Probably something very similar. There's the rub.

Did you get the email I sent you?


Restless - Apr 06, 2009 2:24:48 pm PDT #9642 of 25501
Lurkers are like posting board ninjas!

Yes. Just in case the response got stuck in a spamfilter: You may use my css-file as you please. It is however Firefox 3 specific (for the rounded corners anyway) since I saw no reason for cross-browser coding.


§ ita § - Apr 06, 2009 2:32:11 pm PDT #9643 of 25501
Well not canonically, no, but this is transformative fiction.

Great. Thanks again. For the record, as you may have noticed, I'm breaking the links to the left.

You wouldn't happen to know if it's possible to override

ul.linkcluster li::first-letter {
  color: #990000;
}

without explicitly stating the colour? I mean, to just erase settings for an attribute as if they'd never been written?


Restless - Apr 06, 2009 3:05:26 pm PDT #9644 of 25501
Lurkers are like posting board ninjas!

No, sorry. I'm not sure whether it is even possible to unset attributes that don't support "none".


§ ita § - Apr 06, 2009 3:07:39 pm PDT #9645 of 25501
Well not canonically, no, but this is transformative fiction.

It would seem logical that it should be possible, wouldn't it? Or am I overwishing again?


Restless - Apr 06, 2009 3:16:30 pm PDT #9646 of 25501
Lurkers are like posting board ninjas!

Or am I overwishing again?

It would appear so. But on the other hand, haven't we all?


§ ita § - Apr 06, 2009 3:48:22 pm PDT #9647 of 25501
Well not canonically, no, but this is transformative fiction.

I can't set the colour explicitly, because sometimes the text is a link, so who knows what colour it's supposed to be. Man, the whole set of :: functionality seemed so cool, but it's been a bit of a headache today.

Maybe I'm approaching it wrong. Must think more.


Restless - Apr 06, 2009 4:01:10 pm PDT #9648 of 25501
Lurkers are like posting board ninjas!

Well, what exactly are you trying to do?