Discussion Forums  >  WebViews and HTML for Mobile

Replies: 7    Views: 114

easyprojectstore
I hate code!
Profile
Posts: 6
Reg: Jun 02, 2012
kl
60
06/25/12 11:16 AM (13 years ago)

Html Css cant load

Hi, i'm using a custom html page..whenever i try to upload my css file, the server wont let me do it.does it only allow me to load a single html file?? what can i do to load a mobile website offline??
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/25/12 11:42 AM (13 years ago)
, the server wont let me do it.does it only allow me to load a single html file?? Are you trying to use the Custom HTML Text screen? Fred
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/25/12 02:05 PM (13 years ago)
If so you would need to include the css within the head of the HTML doc. Not how well the screen will play with that but should work. Fred
 
easyprojectstore
I hate code!
Profile
Posts: 6
Reg: Jun 02, 2012
kl
60
like
06/25/12 06:32 PM (13 years ago)
i tried html doc at first but it only will work when i move the css file into head..my problem is that i have a couple of pages in my mobile web and there is a lot of modification in the code. I'm asking is there any easier way that i can upload my whole web folder in a single zip file with index.html as being the main file??
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/25/12 06:48 PM (13 years ago)
Why not embed into the app? Fred
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
07/06/12 10:28 PM (13 years ago)
Did you happen to find a solution? I have about 60 HTML docs that link to the same CSS stylestheet, but BT isn't allowing me to upload the CSS to the documents folder. I get the message: Invalid File Type. Please choose another file to upload. You tried to upload a file named style.css with type text/css with file extention .css
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
07/07/12 12:06 AM (13 years ago)
Add CSS to head of the online HTML docs. Or Embed the HTML docs and the CSS by placing in the BT_Docs folder. Fred
 
RacinJason
Aspiring developer
Profile
Posts: 73
Reg: Jan 13, 2011
Hanover, PA
730
like
03/20/13 05:08 PM (12 years ago)
I know this is an old post, but adding those into BT_docs is that done in eclipse?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.