We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Speicifying a background-image in CSS

I cannot seem to correctly specify background-image in my .css file. The css I am using works correctly in IE and Netscape, but the HTMLUI control won''t accept it.

1 Reply

AD Administrator Syncfusion Team January 2, 2006 07:17 AM UTC

Hi Pete, Please refer the CSS snippet shown below. This contains a background image specification for the div tag through CSS. Please verify that the CSS you are using contains the value for the background image in the following syntax: background-image: url(fileName) [CSS] div{ background-image: url(files/paleeast.gif)} The sample attached below loads an HTML file with background image specified for the div and body elements. Please let me know if this helps. Thank you for your interest in Syncfusion products. Regards, Nanda Cssformats_3210.zip

Loader.
Live Chat Icon For mobile
Up arrow icon