• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1250
  • Last Modified:

add space between two labels in a cell

I have an asp table with a cell and in that are two fields supplied from a dataset. How do I put a space between the two labels. if I put a character inbetween the two it appears but not just a space alone.
thoughts?
<asp:TableCell>
<asp:Label ID="PPTProductIDLabel1" runat="server" Text='<%# Eval("PBTBrand") %>' />
**** text will appear here but not a single space *******
<asp:Label ID="PMDLTModelLabel2" runat="server" Text='<%# Bind("PMDLTModel") %>' />
</asp:TableCell>

Open in new window

0
Simon Cripps
Asked:
Simon Cripps
1 Solution
 
five22bagsCommented:
Try this:

<asp:TableCell>
<asp:Label ID="PPTProductIDLabel1" runat="server" Text='<%# Eval("PBTBrand") %>' />
&nbsp;
<asp:Label ID="PMDLTModelLabel2" runat="server" Text='<%# Bind("PMDLTModel") %>' />
</asp:TableCell>

Open in new window

0
 
Simon CrippsAuthor Commented:
just graduated from the school for the gifted. Oops sorry for such an easy question, but thanks for responding anyway
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now