S
Simon Rigby
Hi folks,
I am using a datalist and I want to assign a background-image to the
item style. I see there is no property for this directly so I decided
to css it by creating a css class:
..myDataListItem {
background-image: url(images\fade.jpg);
}
and setting the ItemStyle.CssClass to myDataListItem.
Unfortunately, she no work.
I'm basically trying to apply a jpeg to a background that is a colour
fade from dark blue on left edge to light blue on right.
I'm thinking that maybe I might have to build my own control for this
and override the Render method to get what I want. Any light thrown,
greatly appreicated.
Thanks
I am using a datalist and I want to assign a background-image to the
item style. I see there is no property for this directly so I decided
to css it by creating a css class:
..myDataListItem {
background-image: url(images\fade.jpg);
}
and setting the ItemStyle.CssClass to myDataListItem.
Unfortunately, she no work.
I'm basically trying to apply a jpeg to a background that is a colour
fade from dark blue on left edge to light blue on right.
I'm thinking that maybe I might have to build my own control for this
and override the Render method to get what I want. Any light thrown,
greatly appreicated.
Thanks