Looking to see how to add spaces to the items on my menu. I found some discussion StaticItemFormatString. I copied an example and it does put spaces between my items. Since I had already played with ImageSeparator, I might want to leave them.
The problem is that the spaces are only showing up ahead of each menu item. So with the separator image there I look like this:
Home| Prouducts| Projects|
I would like to look like this
Home | Product | Projects |
Is there a way that the StaticitemFormatString (or other more appropreiate method) can put a space on both sides of my menu item?
Here is my menu control code
<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal"
BackColor="#535353" Font-Size="X-Large" ForeColor="#FFCC00"
StaticItemFormatString="   {0}" >
<Items>
<asp:MenuItem Text="Home" Value="Home" NavigateUrl="~/PhotoGallery.aspx"
SeparatorImageUrl="~/Images/Menu_Separator.jpg"></asp:MenuItem>
<asp:MenuItem Text="Products" Value="Products" NavigateUrl="~/Products.aspx"
SeparatorImageUrl="~/Images/Menu_Separator.jpg"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/Projects.aspx" Text="Projects" Value="Projects"
SeparatorImageUrl="~/Images/Menu_Separator.jpg">
</asp:MenuItem>
<asp:MenuItem NavigateUrl="~/WebDesign.aspx" Text="Web Design"
Value="Web Design" SeparatorImageUrl="~/Images/Menu_Separator.jpg"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/Outsourcing.aspx" Text="Outsourcing"
Value="Outsourcing" SeparatorImageUrl="~/Images/Menu_Separator.jpg"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/Photos.aspx" Text="Photos" Value="Photos"
SeparatorImageUrl="~/Images/Menu_Separator.jpg">
</asp:MenuItem>
<asp:MenuItem Text="Photo Gallery" Value="Photo Gallery"
NavigateUrl="~/PhotoGallery.aspx"
SeparatorImageUrl="~/Images/Menu_Separator.jpg"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/Contact.aspx" Text="Contact" Value="Contact"
SeparatorImageUrl="~/Images/Menu_Separator.jpg">
</asp:MenuItem>
<asp:MenuItem Text="Web Management" Value="Web Management"
NavigateUrl="~/WebManagement/UBO_CMS.aspx"></asp:MenuItem>
</Items>
</asp:Menu>