G Go Namhyeon New Member Oct 22, 2015 #1 I tried this html code in WebView wwFormWeb.html B4X: <link rel="stylesheet" href="screen.css" type="text/css" media="screen, projection"> <link rel="stylesheet" href="print.css" type="text/css" media="print"> ... html codes ... but, link tag can not found current path. B4J code B4X: wwForm.LoadUrl(File.GetUri(File.DirAssets, "wwFormWeb.html")) wwForm.Show File Directory struction B4X: - Jar (released) - Files - wwFormWeb.html - screen.css - print.css How can I load my local css and script files in webview?
I tried this html code in WebView wwFormWeb.html B4X: <link rel="stylesheet" href="screen.css" type="text/css" media="screen, projection"> <link rel="stylesheet" href="print.css" type="text/css" media="print"> ... html codes ... but, link tag can not found current path. B4J code B4X: wwForm.LoadUrl(File.GetUri(File.DirAssets, "wwFormWeb.html")) wwForm.Show File Directory struction B4X: - Jar (released) - Files - wwFormWeb.html - screen.css - print.css How can I load my local css and script files in webview?