Custom Page + HTML Archive For Files Extraction ( Idea )
Hi everyone,
Anyone here has any idea on how to get images from html archive?
This is what i want to do
1. Make a custom page with a background image
2. The background image has to be on the HTML archive so when the app loads, the image will also come up
Fact : in online mode we can only get the background working since the images are on the servers. however in offline mode its not possible so i want to add an HTML archive just to be its image holder included in the installation of the app.
The HTML zip is named try.zip and the image is named background.png
Here is my code
<style type="text/css">body{ background-image: url(pages/background.png); background-size:cover }
}
</style>
anyone can help? thanks
Tagged:
Comments
body {
background-image:url("image.png");
}
Hope this helps.
- Main Folder
---- Images Folder
------- Image1.jpg
------- Image2.jpg
---- CSS Folder
------- styles.css
-- index.html
All files and folders are without spaces eg. "images_folder"
I had an app like you ant to have - the main screen wasn't Andromo's dashboard, but my own, made in HTML5/CSS. There is another user here, who wasn't active for very long now, but he had very beautiful HTML5/CSS coded apps.
EDIT: You need to ZIP your main folder and the index.html needs to be in the root. Andromo has a great guide explaining this.
download this ZIP file (http://www.filedropper.com/folder_5) and put it in Andromo. It will work, 100%. Also, you can check out the code after you unzip the files on your computer. It's very basic - the index file, image and the CSS.