c# - background image of a css loaded as an embedded resource -
i have control created in class library , should styled default css. i've created css file, added library , embedding resource, can used default styling.
the css file contains classes set background-image property. images used added embedded resources in library well. expected, css run correctly, not display images since added relative css file, request ../images/my_image.png result in 404 since not exist my_image.png, downloaded .axd resource.
any ideas on how overcome this?
any , appreciated.
kali.
why not having done myself remember reading article getting javascript in embedded resource.
accessing embedded resources through url using webresource.axd http://www.4guysfromrolla.com/articles/080906-1.aspx
Comments
Post a Comment