Author: odubhgaill2 | Posted on: 8/4/2008 4:14:14 AM | Views : 290

Hi,
I'm applying styles at runtime using Style.Add. When there is more than one value in the style it will not work.
So divHeaderBottomNav.Style.Add("color", "#FF0000") is working fine.
But  divHeaderBottomNav.Style.Add("background", "rgb(225,225,0) url(../img/bg_head_bottom_nav_newtest.jpg) repeat-x;") does not work. The only attribute which is picked up is rgb(225,225,0).
It appears that only a single value can be added to the style using this method. Can anyone tell me how to add style attributes which have more than 1 value?
thanks

 

 
...

Go to the complete details ...