learnyoureact icon indicating copy to clipboard operation
learnyoureact copied to clipboard

Problem CSS2, not good example using inline-style on tr

Open tomothumb opened this issue 9 years ago • 2 comments

I don't recommend much this solution which is to switch inline-style 'text-decoration' on

tag. Some browsers didn't work well it before.

'text-decoration' should be used into td, li or p etc.

tomothumb avatar Nov 24 '15 07:11 tomothumb

Hi @tomothumb , Thank you for your report! I didn't know that. I'm sorry that I can't find the advanced information. Could you show me some web site that tells what browser didn't work?

kohei-takata avatar Nov 24 '15 12:11 kohei-takata

Currentry, Everything will work on tr element.

Long time ago, There are many bug with styling tr element... even though background style... Like IE7... http://stackoverflow.com/questions/8154560/css-tr-background-not-working-ie7

x : tr { /* Several styles doesn't work  */ }
o : tr.foobar td { /* Work well everything */ }

That's why this solusion is a bit creepy for me.

tomothumb avatar Nov 24 '15 12:11 tomothumb