Web content got messed up when zoom in and out

When I zoom out or zoom in the browser some of the web content messed up. How to fix this?

Here’s the CSS of the home page (first link)

.footer-image{
position: relative;
width: 100%;
}

.homeheaderh1{
float: left;
font-weight: bold;
color: #d31716;
margin: -520px 0 0 100px;
/* display: initial; */
line-height: 1em;
}

.homeheaderh3{
font-weight: normal;
margin: -320px 0 0 100px;
position: absolute;
line-height: 1.20em;
}

.homeheaderbutton{
float: left;
margin: -220px 0 0 100px;
position: absolute;
}

.homeheaderp{
float: left;
margin: -60px 0 0 100px;
position: absolute;
font-weight: bold;
}

Here’s the CSS of 2nd link

padding-top: 10px;
margin: -550px 0 0 500px;
color: #FFF;
position: absolute;

margin: -450px 0 0 400px;
color: #FFF;
line-height: 0.10em;
position: absolute;
font-weight: 300;

read more

Number pattern in C

Can you please help to print the below pattern?

 12345 15
  2345   14
   345     12
    45        9
     5          5

I have tried with this code?

code :

for(i=1;i<=5;i++)
    {
        for(j=1;j<=i;j++)
        {
            printf(" ");
        }
        for(j=i;j<=5;j++)
        {
            printf("%i",j);
            sum = sum + j;
        }

        printf(" ");
        printf("%i",sum);
        printf("\n");
    }

output:

 12345 15
  2345 29
   345 41
    45 50
     5 55

Please help to print the above pattern? Thanks in advance

read more

Number pattern in C

Can you please help to print the below pattern?

 12345 15
  2345   14
   345     12
    45        9
     5          5

I have tried with this code?

code :

for(i=1;i<=5;i++)
    {
        for(j=1;j<=i;j++)
        {
            printf(" ");
        }
        for(j=i;j<=5;j++)
        {
            printf("%i",j);
            sum = sum + j;
        }

        printf(" ");
        printf("%i",sum);
        printf("\n");
    }

output:

 12345 15
  2345 29
   345 41
    45 50
     5 55

Please help to print the above pattern? Thanks in advance

read more