September 14th, 2010, 04:48 AM
Cannot set WML table background color
Hi, I've googled and searched this forum but I could not find any answer about my problem. I'm trying to build a simple wml wap wage and I want to give it a background color, after searching I've found that I can do this by giving a table background color, but my problem is I cannot give background color to my table or its rows or cells. Here's the sample code I use:
I also tried giving style to tr tag and table, and put the table between <p> tag. But I still cannot get background color to my table. I know the problem is not about the phone I try because I can surf other wap pages with background colors.
<?xml version="1.0" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<meta http-equiv="Cache-Control" content="max-age=0"/> </head>
<tr> <td style="background-color:#00FF00">Text</td> </tr>