Generate a Table with CSS

zhaozj2021-02-16  55

Code: Background-Color: Expression ((this.previoussibling && this.previoussibling.style.BackgroundColor == "LightsteelBlue": "LightskyBlue": "lightskyblue");

Applicable: IE5.5 or above browser

example:

" HTML XMLNS = "http : //www.w3.org/1999/xhtml "> >" />> "/>>TYLETABLE.TABLE1 TR {Background -COLOR: expression (? (this.previousSibling && this.previousSibling.style.backgroundColor == "lightskyblue") "LightSteelBlue": "lightskyblue");}

AB AB AB AB CD CD CD
EF EF EF EF
GH GH GH GH IJ IJ < TD> ij ij kl kl kl KL
Mn Mn MN < / TD> MN OP OP <

TD> OP

OP Table.table1 Tr {Background-Color: Expression ((this.previoussibling && this. PreviousSibling.style.backgroundColor == "LightsteelBlue": "lightskyblue";}

Ababababcdcdcdcdefefefefghghghghijijijijklklklklmnmnmnopopopopopo

转载请注明原文地址:https://www.9cbs.com/read-18432.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.035, SQL: 9