Discussion Forums  >  Uncategorized

Replies: 3    Views: 325

Cyberpwn.com
Apple Fan
Profile
Posts: 32
Reg: Feb 14, 2011
location unknow...
320
05/19/11 01:11 PM (14 years ago)

URGENT PLEASE HELP -- Black background in html/text sereen 1.5

hi ive been coming across this problem for a month now and if you can help or have a suggestion please reply. thanks. first if you are an early adopter for 1.5 than please make a new app and create a html/text screen and type ANYTHING. then run it on the simulator. you should see black text on black background. and this is with no settings changed. no advanced properties or themes. please help i cant even change the background or text color. all the setting are default. PLEASE HELP
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
05/19/11 02:30 PM (14 years ago)
Hi! You must add a style sheet in order to make changes to the html/text screen. Try to paste the text below. Your page should have a weird green background color now. The code that control it is the style sheet I have added below the title tag in the header. There are several ways to combine styles with HTML. The two simplest ways are by defining styles in the head or the body of an HTML document. You can also create a separate style sheet and attach it to the HTML file by linking to the css file. BR/Stefan <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd> <html> <head> <meta http-equiv=Content-Type content=text/html; charset=UTF-8> <meta name=viewport content=width=320; initial-scale=1.0; user-scalable=1;/> <title>my custom html</title> <style type=text/css> <!-- body { background-color: #00ffcc; } --> </style> </head> <body> <p>This is a <b>bold</b> text inside a paragraph. And the background hurt my eyes ;) </p> </body> </html>
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/20/11 01:26 AM (14 years ago)
@Cyberpwn.com: The default background color for a new app is not black, it's white. Your urgent request is confusing. I just did exactly what you said (i've done this thousands of times) and changed nothing. Typed some text... black text on white background. Not sure what you're running into but post the app name and I'll get a look over the weekend. And... please don't post the same question in two places it causes extra work for tons of forum participants ;-)
 
Cyberpwn.com
Apple Fan
Profile
Posts: 32
Reg: Feb 14, 2011
location unknow...
320
like
05/21/11 07:27 AM (14 years ago)
Fixed just changed styleshwet thx sweeden
 

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.