I need to show a div like in this image (top), but I have this ugly version (bottom):

At the moment I am using this code:
<asp:Repeater ID="DataViewer" runat="server">
<ItemTemplate>
<div style='border: 0px; width:600px;'><%# Eval("DriverId") %>
<div style='border: 3px solid black; width:<%# Eval("OrderCount") %>cm;'><%# Eval("OrderCount") %>
<div style='border: 0px; background-color: red; width:<%# Eval("OrderCountWhereNameIsNotNull") %>%;'>
<%# Eval("OrderCountWhereNameIsNotNull") %>
</div>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
How can I solve this?
you must use ‘%’ instead of cm.
Hope this will solve your problem.