Hi,
If I want to make the full page background (like the ebasetech.com has), what should I do? which element should I modify? Page element or Page panel?
As far as I know to make the image take the whole page I usually have at least:
background: url(....)
min-height: 100% and
background-size: cover
in the css part. But I confuse how to put the image location within url bracket when the image i put in the images folder within the resources.
Thanks in advance for the help.
full page background?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
To apply a background across the entire page and use an image from the workspace, you should probably use something like:
The "$ws" instructs the system to load the image from the workspace. The images folder can be in the same project as the form that you are running or in any linked project.
Code: Select all
body
{
background-image:url("$ws/images/myimage.gif");
}
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
Thanks a lot, Jon.
problem solved.
problem solved.
Jon wrote:To apply a background across the entire page and use an image from the workspace, you should probably use something like:
The "$ws" instructs the system to load the image from the workspace. The images folder can be in the same project as the form that you are running or in any linked project.Code: Select all
body { background-image:url("$ws/images/myimage.gif"); }
0 x
Who is online
Users browsing this forum: Bing [Bot] and 20 guests