Cableguy Expert Licensed User Longtime User Mar 24, 2017 #1 Hi, ABM Gurus Is it possible, and if so How, to use an image (png with transparency) as a page background, or as a container background?
Hi, ABM Gurus Is it possible, and if so How, to use an image (png with transparency) as a page background, or as a container background?
MichalK73 Well-Known Member Licensed User Longtime User Mar 25, 2017 #2 page.SetBackgroundImage Upvote 0
Cableguy Expert Licensed User Longtime User Mar 25, 2017 #3 I am running v3.0, and i didn't find it... I will try to find that later Upvote 0
MichalK73 Well-Known Member Licensed User Longtime User Mar 25, 2017 #4 I have versions 3.0 and have these options Upvote 0
Cableguy Expert Licensed User Longtime User Mar 25, 2017 #5 I must have zapped it... How about for a container, that is what I'm more interested on Upvote 0
M mindful Active Member Licensed User Mar 25, 2017 #6 Cableguy said: How about for a container, that is what I'm more interested on Click to expand... Currently(v3.00) there is no method for doing that for a container, but you can use page.InjectCSS method. (I placed it in ConnectPage) B4X: page.InjectCSS($"#your-container-id { background: url("/your-app-name/images/your-image-name.png") no-repeat center !important; }"$) more info about background css : https://www.w3schools.com/css/css_background.asp Upvote 0
Cableguy said: How about for a container, that is what I'm more interested on Click to expand... Currently(v3.00) there is no method for doing that for a container, but you can use page.InjectCSS method. (I placed it in ConnectPage) B4X: page.InjectCSS($"#your-container-id { background: url("/your-app-name/images/your-image-name.png") no-repeat center !important; }"$) more info about background css : https://www.w3schools.com/css/css_background.asp