Rob,

There are some elements of .NET output a developer has no control over. 
For example, this source code:

<asp:DataList ID="featuredVehicleList2" RepeatColumns="3"
    RepeatDirection="Horizontal" runat="server">
    <ItemTemplate>
<a href="/VehicleDetails.aspx?id=<%#DataBinder.Eval(Container.DataItem, 
"Stock Number")%>">
<img 
src="/images/vehicle_images/01_<%#DataBinder.Eval(Container.DataItem, 
"Stock Number")%>.jpg" width="140" height="104" alt="vehicle photo" 
/></a><br />
<a href="/VehicleDetails.aspx?id=<%#DataBinder.Eval(Container.DataItem, 
"Stock Number")%>">
<%#DataBinder.Eval(Container.DataItem, 
"Year")%>&nbsp;<%#DataBinder.Eval(Container.DataItem, "Model")%><br />
<%#DataBinder.Eval(Container.DataItem, 
"Engine")%>&nbsp;<%#DataBinder.Eval(Container.DataItem, "fldWebPrice")%></a>
    </ItemTemplate>
</asp:DataList>

becomes this HTML:

<table id="featuredVehicleList2" cellspacing="0" border="0" 
style="border-collapse:collapse;">
    <tr>
        <td>
<a href="/VehicleDetails.aspx?id=B09043">
<img src="/images/vehicle_images/01_B09043.jpg" width="140" height="104" 
alt="vehicle photo" /></a><br />
<a href="/VehicleDetails.aspx?id=B09043">
2006&nbsp;E-150<br />
4.6  V8&nbsp;$11,900</a>
    </td><td>
<a href="/VehicleDetails.aspx?id=193971">
<img src="/images/vehicle_images/01_193971.jpg" width="140" height="104" 
alt="vehicle photo" /></a><br />
<a href="/VehicleDetails.aspx?id=193971">
2005&nbsp;G2500 HD<br />
6.0  V8&nbsp;$5,995</a>
    </td><td>
<a href="/VehicleDetails.aspx?id=C01953">
<img src="/images/vehicle_images/01_C01953.jpg" width="140" height="104" 
alt="vehicle photo" /></a><br />
<a href="/VehicleDetails.aspx?id=C01953">
2003&nbsp;E-250 HD<br />
5.4  V8&nbsp;$6,995</a>
    </td>
    </tr>
</table>


Rob Emenecker wrote:
> Yes, I've encountered this before with PHP. You have to get into the source
> code and fix it. It's not about what the "developer adds". It's about
> tweaking the ASP (or PHP or JSP or ColdFusion or PERL) code so that it spits
> out valid XHTML.
>
>  
>
>
>   
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to