
September 14th, 2010, 03:48 AM
|
|
Registered User
|
|
Join Date: Sep 2010
Posts: 1
Time spent in forums: 1 h 4 m 26 sec
Reputation Power: 0
|
|
|
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:
Code:
<?xml version="1.0" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml><head>
<meta http-equiv="Cache-Control" content="max-age=0"/> </head>
<card>
<table>
<tr> <td style="background-color:#00FF00">Text</td> </tr>
</table>
</card> </wml>
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.
|