Issue with cfmap tag inside a table based layout

Today, I was trying to use the cfmap tag in a site with a table based layout. The table that contains the content uses the cellspacing atttribute to create margins around the content. After placing the cfmap tag inside of a table cell, all subsequent data cells no longer contained the cellpading. I created a very simple example that recreates the issue.

view plain print about
<html>
<body>
<table cellpadding=20 width=800>
<tr>
<td width=200>
This is a test of cellpadding before a cfmap tag is hit in the code...
</td>
<td width=400>
<cfmap centeraddress="15090" height="300" name="aca" width="400" zoomlevel="15" typecontrol="advanced" markerwindowcontent="Adventure Cycling Association Headquarters" zoomcontrol="large3d">
</td>
<td width=200>
This is a test of cellpadding after a cfmap tag is hit in the code...
</td>
</tr>
</table>
</body>
</html>

In the code above the cellpadding attribute will be ignored in the final td cell after the cfmap tag. Looking at the source produced by this template I do not see any reason that the cell padding would not work in the final data cell. I'm curious if anyone out there knows why this is happening. Is it problem with the what is returned from google maps or is it an issue with the coldfusion implementation.

After looking into this issue further it seems that any ColdFusion ajax based tag causes this issue. Still curious as to why?

Comments

Write your comment

(it will not be displayed)

Leave this field empty: