Question : no wrap for breadcrump/

In internet explorer there is no problem but in firefox it wraps to the next line

    padding: 3px;
    background: #FFFFFF url(../image/bg-topnav.gif) repeat-x;
    height: 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.7em;
    border-bottom: 2px solid #7F7F7F;
    border-right: 1px solid #7F7F7F;
    border-left: 1px solid #EDEDED;
    table-layout: fixed;

.breadcrumb a
    text-decoration: none;
    color: #3a3a3a;

.breadcrumb a:hover
    text-decoration: none;
    color: #ff9933;

see image

Answer : no wrap for breadcrump/

I see you posted this in both the C# and C zones.

So far, the replies have been about C#, but the first line of your question suggests that you're using C. So I'll assume this question is about C and not C#.

You can use sprintf to construct a string like this. For example, see the below code sample.

Note that an int does NOT contain leading zero's - it simply contains the integer value. Adding leading zero's is a formatting issue, and you'll have to take care of that when you output the int value somehow. In the code snippet below, it's done using %03d, which means that an int (d) should be shown, that it should take up minimum three positions (3), and that it should be pre-pended with zero's if needed (0). Refer to the reference page for sprintf for more information :
#include <stdio.h>

int i = 6;                                /* the initial values */
const char* myString = "Sam";

char result[128] = "";                    /* this will contain the result */

++i;                                      /* increment it as you requested */
sprintf(result, "%s%03d", myString, i);   /* construct the resulting string. Note the 03 part that indicates that the integer has to be printed with a width of 3, and prepended with zero's if needed */

puts(result);                             /* show the result */
Random Solutions  
programming4us programming4us