Quote:
Originally Posted by Turtle91
I’m not sure that using a class to avoid the device overriding the styling would be all that effective?? It seems that if the device is going to ignore the included css in favor of its own, then the device would override css classes as well. Has anyone seen this behavior in the wild where the technique actually works??
|
Yeah, I’m not sure it would be particularly reliable, was just a thought. Folks gambling that a device might override some styling on default p, but does it by playing with precedence for a lighter touch than just completely trashing a stylesheet. It’s honestly the only thing I can think of that would make an actual human define something like p.paragraph or something.
It kind of makes sense if you figure that’s how all the devices work, really. They display however they want, apart from whatever we set that they feel like honoring. If you bump something up in precedence via something like p.center, odds are it will center. Set some rule on p.center that they don’t honor, and it usually falls back to whatever the default value is. Then you just kinda draw that same thinking all the way out to p.myfavoritesettings and roll the dice. I don’t do it, I don’t like the sound of it, but I can sort of understand the thinking. It’s like excessively-defined p rules are in the first place, just with a “pretty please” on top.