Jump to content

Recommended Posts

Posted

Hi, i am experiencing huge frustrations this days over this problem.

The problem i encounter is that the background image doesn`t load. 

I tried with referencing the image as 

body{

      background:url("package://cef/registerPage/background.jpg");

      background-size:cover;

      background-position:center;

      background-repeat:no-repeat;

      background-attachment:fixed;

      width:100%;

       overflow:hidden;

       height:100%

}

and 
  background-imageurl("package://cef/registerPage/background.jpg");

I also changed the permission to full permission for everyone for the image
Even i tried with

background-color: some color;


After i load into the server i get this:

(As you can see other properties for the elements are loaded successfully like the styles for the button, font size, font color, etc )

https://imgur.com/MIJwsej

Any help?

 

  • 1 month later...
Posted
11 hours ago, DaNeo said:

if html, css, js and the images are in the same folder you just can do
background-imageurl("background.jpg");

GL and Have Fun.

Yes i already tried that, still nothing

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...