Hi Abhinav:
Below is an example that you can build on...It is based upon the
Balloon Style example from the KML reference:
http://code.google.com/apis/kml/documentation/kmlreference.html#balloonstyle
You could also move the HTML table into the description of the
placemark:
http://code.google.com/apis/kml/documentation/kmlreference.html#description
THANXS
amb
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="
http://www.opengis.net/kml/2.2">
<Document>
<name>BalloonStyle.kml</name>
<open>1</open>
<Style id="exampleBalloonStyle">
<BalloonStyle> <!-- a background color for the balloon -->
<bgColor>ffffffbb</bgColor> <!-- styling of the balloon text --
>
<text>
<![CDATA[
<b><font color="#CC0000" size="+3">$[name]</font></b>
<br/>
<br/>
<font face="Courier">$[description]</font>
<br/>
<br/>
Extra text that will appear in the description balloon
<br/>
<br/>
<TABLE BORDER="1">
<TR>
<TH> </TH>
<TH>Config 1</TH>
<TH>Config 2</TH>
<TH>Config 3</TH>
</TR>
<TR>
<TH>Cost A</TH>
<TD>$1</TD>
<TD>$2</TD>
<TD>$3</TD>
</TR>
<TR>
<TH>Cost B</TH>
<TD>$10</TD>
<TD>$20</TD>
<TD>$30</TD>
</TR>
</TABLE>
<!-- insert the to/from hyperlinks --> $[geDirections] ]]>
</text>
</BalloonStyle>
</Style>
<Placemark>
<name>BalloonStyle</name>
<description>An example of BalloonStyle</description>
<styleUrl>#exampleBalloonStyle</styleUrl>
<Point>
<coordinates>-122.370533,37.823842,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>