![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
There's nothing in there that says one can only discuss CSS solutions which work on as wide an assortment of browsers as possible! |
#22
| |||
| |||
|
|
Toby Inkster wrote: Correct me if I'm wrong (and I may well be), but don't MSIE's expressions require JScript to be enabled? If so, what's the advantage of using them over proper scripting? They do require scripting to be on. I think they are much easier to implement because with a scripting solution you need to either fire the action onLoad of the document, or put the script at the bottom of the document to run after the main document loads. That's more of a hassle than simply including a css file, IMO. |
#23
| |||
| |||
|
| http://www.mattkruse.com/temp/css_expressions.html One of the standard CSS questions is "how can I shade every other table row a different color with CSS?" The answers are usually 1) you can't (yet), 2) put a class on every other tr, or 3) use javascript to do the styling for you. Well, I've been playing the CSS expressions quite a bit lately and I've found a much simpler solution which works in IE5.5+, using "expressions". If you're creating a web app that uses exclusively IE, or if you want to add this feature for the majority of site visitors (using IE), then you can use the technique in the url above. At that url are some other fun things that CSS expressions can do also. I realize the CSS expressions are non-standard and not a solution which everyone will find acceptable. But for those that can accept the limited browser support (IE only) then they are quite powerful and convenient. On projects where IE is the only browser being used to access the web app, this is going to be a great solution for me, I think. And in the future, as CSS evolves and browsers support more advanced selectors, the CSS file can be changed simply without needing to change anything in the content. Thoughts? |

#24
| |||
| |||
|
|
Neal wrote: This ng, which is centered on WWW authoring, deals with solutions which work on as wide an assortment of browsers as possible. You seem to be making a false assumption. This newsgroup is for discussion of CSS. That's it. From the FAQ: Q: What kinds of posts are acceptable in this news group ? A: Topics for this news group include: * How to achieve a particular effect with style sheets, * The relative advantages of different style sheet languages, * Specifications versus implementations, * Bugs and limitations in implementations, and * Questions on XSL related subjects. There's nothing in there that says one can only discuss CSS solutions which work on as wide an assortment of browsers as possible! |
|
No it's not. There are solutions here which only work in Mozilla and Opera, because IE doesn't support as much CSS. Does that mean these posts are off-topic? |
|
Just because a solution doesn't work on _all_ browsers in a www context does not mean it's worthless in a www context. |
#25
| |||
| |||
|
|
Table -columns- in alternating colours are quite awkward, though. Well, of course it's easy, but it seems so wasteful setting classes on every damned table cell, that one feels the need to find a more appealing solution. |
#26
| |||
| |||
|
|
I'm saying other browsers need to catch up, because at least IE provides an easy way to do it NOW ![]() |
#27
| |||
| |||
|
|
This newsgroup is for discussion of CSS. That's it. |
|
Wrong again. Just because a solution doesn't work on _all_ browsers in a www context does not mean it's worthless in a www context. |
#28
| |||
| |||
|
|
And for the "unthinking masses" in another post, we're not saying we're more clever than you are, just that you're unthinking: you don't choose your browser, and just take the first thing that Windows will open for you. |
#29
| |||
| |||
|
|
Matt Kruse wrote: We can loathe ie, but we can't realistically ignore it, and anything which helps improve the browsing experience for ie users on our pages, without degrading it for others, is to be applauded. Any web author who thinks otherwise is obviously authoring primarily for web evangelism of some kind, rather than any other cause, commercial or charitable. |
#30
| |||
| |||
|
|
But what the OP wants to do can be done using standard CSS that works on all browsers other than antiques. The 'solution' he came up with is for IE5.5+ only. I don't believe that criticising an IE-only solution when a simple cross-browser solution exists has anything to do with 'web evangelism'. |
![]() |
| Thread Tools | |
| Display Modes | |
| |