How to add background image in div in asp.net with no-repeat.



How to add background image in div in asp.net with no-repeat.

How to add background image in div in asp.net with no-repeat.

If you want to set background image in div tag in asp.net this tutorial is for you.This tutorial teach you how to add background image with no repeat and responsive.

First of all add a div tag. add a css class to set background image with image url, fix the diamention of the div tag.

you can use this class. make sure about image url.

.backimg{
background-image:url(Img/Asset.png);
width:70%;
height:70%;
background-repeat:no-repeat;
background-color:red;
background-size:cover;
}

——
This channel covers all the programming tutorial related with .Net- C#, linq, VB, SQL, Android, HTML, CSS, jQuery, Crystal Report and Microsoft Report.
So, Please subscribe and keep in touch.
https://www.youtube.com/c/ProgrammingGeek

Visit my page in Facebook
https://www.facebook.com/programminggeek7
——

More Tags
AddBackgroundImageInDivInAsp.net #SetBackgroundImageInDivTag #BackgroundImageInDivInAsp.net

programminggeek,how to set background image in div in asp.net,add background image in div,background image in asp.net,background image in asp.net c#,asp.net background image,set background image in asp.net,how to add background image in div using css,background image in asp.net master page,background image in asp.net page,how to set background image in asp.net c#,background image in div tag in html,background image asp.net,background image asp

Comments are closed.