I work with both SP 2007 and 2010 for WCM and this has always been a problem. Every web part or web part zone is almost always wrapped in at least one table and/or several divs. In 2010 I'm finding that even the XLV part is getting this wrapper. Besides
being a lot of bloat that wastes bandwidth, it makes it much harder to customize the look and feel of the site. Is there a way to turn this off or modify the output? I don't care what it has to do for edit mode to make the UI function, but when serving pages
to anonymous web surfers I'd like to eliminate the code.
As an example, here's the beginning wrapper code for a CQWP in SP 2010. The actual content that needs to be displayed is a simple unordered list:
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="MSOZoneCell_WebPartWPQ1" valign="top"
class="s4-wpcell-plain">
<table class="s4-wpTopTable" border="0" cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td valign="top">
<div WebPartID="c0f138b4-3002-4e47-a797-e4cd1a2b23c1"
HasPers="false" id="WebPartWPQ1" width="100%"
class="ms-WPBody noindex" allowDelete="false" style="&qu
View Complete Post