+ 1
Is there any other way of embedding external css with android device??
I just downloaded a web master text editor with my Android device, the html part is working fine but whenever I embed an external css or js it doesn't work here's the structure <!DOCTYPE html> <html> <head> <title>Stop watch</title> <meta charset="UTF-8"/> <link rel="stylesheet" href="styles.css" type="text/css"/> </head> <body> <h1 id="timer"> 00:00.000 </hi><br /> <button id="toggle">Start</button> <button id="reset">Rest</button> </body> </html> //the css is saved as styles.css
7 Réponses
+ 1
Can you show us your code and file structure ?
+ 1
Is it in the same folder ?
Did your browser has a storage access permissiom ?
Wht does the url looks like ?
+ 1
Your code are fine, the problem probably in you os or your browser. (thats why i ask your browser permission)
You can try to use full path instead of relative path
Or use http server app to run the code
0
I have edited the post and insert my code
0
I saved both the html and css part in a particular folder. the browser opens the html but the external css won't display but internal css always display
0
or maybe you can just tell me how to embed external css with android device
0
Thanks lemme check it out