gusrac Posted December 12, 2012 Share Posted December 12, 2012 how to change the background color in UniHTMLFrame, I was setting by adding <style> body { background: # ddd; } </style> but there is no color change in the html frames Link to comment Share on other sites More sharing options...
patmap Posted December 12, 2012 Share Posted December 12, 2012 Usage: background-color: #ddd; Example: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <style> body { background-color: #ddd; color:#222; } </style> </head> <body> <div style="text-align:center;background-color: #999;">Hello World!</div> </body> </html> Link to comment Share on other sites More sharing options...
gusrac Posted December 13, 2012 Author Share Posted December 13, 2012 Usage: background-color: #ddd; Example: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <style> body { background-color: #ddd; color:#222; } </style> </head> <body> <div style="text-align:center;background-color: #999;">Hello World!</div> </body> </html> its works by adding a few properties like this <div style="color: #222; background-color: #ddd; width:100%; height:100%;"> thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now