M
Marko Rangel
So I've got this html block in my .aspx page (with proper declaration
import):
<td><wc1:Tabs id="Tabs" runat="server"/></td>
The .ascx file contains only this html:
<aspanel id="pnl1" runat="server" Width="370px"><IMG height="32"
src="images\blah.gif" width="370" useMap="#Map" border="0"></aspanel>
In theory, I should get this in my html view source of the aspx page:
<td><IMG height="32" src="images\blah.gif" width="370" useMap="#Map"
border="0"></td>
or
<td><div id="_ctl0_Tabs_pnlFeeds" style="width:368px;"><IMG height="32"
src="images\blah.gif" width="370" useMap="#Map" border="0"></div></td>
but instead I get this, and its distorting the page How can I get this all
in one line?
<td><div id="_ctl0_Tabs_pnlFeeds" style="width:368px;">
<IMG height="32" src="images\feed_on_alltabs.gif" width="370"
useMap="#tab_Map" border="0">
</div>
</td>
why does the panel add extra line spaces (the div tags)>
tia
marko
import):
<td><wc1:Tabs id="Tabs" runat="server"/></td>
The .ascx file contains only this html:
<aspanel id="pnl1" runat="server" Width="370px"><IMG height="32"
src="images\blah.gif" width="370" useMap="#Map" border="0"></aspanel>
In theory, I should get this in my html view source of the aspx page:
<td><IMG height="32" src="images\blah.gif" width="370" useMap="#Map"
border="0"></td>
or
<td><div id="_ctl0_Tabs_pnlFeeds" style="width:368px;"><IMG height="32"
src="images\blah.gif" width="370" useMap="#Map" border="0"></div></td>
but instead I get this, and its distorting the page How can I get this all
in one line?
<td><div id="_ctl0_Tabs_pnlFeeds" style="width:368px;">
<IMG height="32" src="images\feed_on_alltabs.gif" width="370"
useMap="#tab_Map" border="0">
</div>
</td>
why does the panel add extra line spaces (the div tags)>
tia
marko