0

How to add Master page background Image in ASP .Net

body {
           background-image: url(../Images/images1.jpg) no-repeat;
           background-attachment: fixed;
            margin-top: 0px;
 }

this is not working

1 Answer 1

2

try this:-

    html { 

        background: url(Jellyfish.jpg) no-repeat center center fixed; 

        background-size: cover;
    }
Sign up to request clarification or add additional context in comments.

2 Comments

this not working i am using this code in master page css
maybe its a path issue, as mentioned in this link, See if this link helps you:- stackoverflow.com/questions/13666540/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.