2
Answers

How to add multiple css by c# code.

Vikas Singh

Vikas Singh

4y
1.1k
1
Hello Sir i am trying to add css like this
"divacccontent.Style.Add("background-color", "#207945");"
 
but i want to add more than one css and i donn't want to repeate it  like 
"divacccontent.Style.Add("background-color", "#207945");"
"divacccontent.Style.Add("display", "block");" 
 
so how can i do.Please help
Answers (2)