Barney Carroll wrote:
> To be honest, I have no great gripe with using meaningless spans and 
> divs. By specification they are not forced to assign meaning anyway, so 
> I only really worry about massive nesting, and even then it's only for 
> the sake of standardistas browsing my site in view-source mode (they 
> don't deserve sympathy anyway!).

Except we standardistas then get to asked to fix rats' nest pages that just 
don't make any sense :)

Actually, I put extra comments in my source code to be read by anyone who views 
my source code. Little tidbits here and there to amuse and entertain :P No idea 
if anyone notices.

> Selection has come a long way for CSS3 but unless IE is buried by a 
> massive security hole (not the most paranoid of apocalypse theories), we 
> won't be able to rely on it until IE gets another revamp (ETA >5 years IMO).

You'd peg it at as low as six years? :) Man, you're having an optimistic day 
today.

> In my head, what makes the most sense for this (as well as plenty of 
> other span-based techniques such as heading image replacement) is a 
> selector for text nodes. In a way, couldn't the DOM very easily 
> differentiate an element from any text within it? Something like 
> ELEMENT:text{} - It seems so obvious.

I've thought the same way. I was going to suggest this to the www-style list 
the 
other day, but I've yet to find a sensible, powerful use case for this. i.e. 
one 
that isn't intended work around ugly site design (e.g. tiled background image 
above which you can't read the text) or flaws in IE.

This particular example, SHOULD be solved by proper list marker support.

I'd be curious to read of any use cases you feel would truly justify this one.

> Follow-up: Apparently, the effects I'm after can be achieved in Netscape 
> 4 under Windows 95 by using the following rules: 
> ol,ul{color:red}li{color:black}. I haven't tried this for myself, and 
> it's completely impractical info, but still worth knowing.

Hahaha ...
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to