I cannot set background image in the php file tried every possible way

<!DOCTYPE html>
<title>Homepage for all the links for Database</title>
                    no-repeat center center fixed;
                .center_button{max-width: 75px;}



Maybe you need to apply the styles to the body, and put width and height for both html and body tags to 100%. Also, put this code as the background snippet is not valid like so:

background:url(img/Books.png) no-repeat center center;
1 Like

Nope did not work

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.