0

html:

<p style="margin-left:1250px; margin-top:70px;"><a href="">Go to the main website</a></p>

css:

a {
    color: #000000;
    text-decoration: none;

}

html {
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0 auto;
    background-color: #ffffff;
    max-width: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #545454;
    background-color: #ffffff;
    text-align: center;
}

Whenever i re-size the browser's window "Go to the main website" is getting scrambled. Any help?

mikeb
  • 709
  • 2
  • 9
  • 35

1 Answers1

0

See if this helps

Css

a {
    color: #000000;
    text-decoration: none;

}

html {
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0 auto;
    background-color: #ffffff;
    max-width: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #545454;
    background-color: #ffffff;
    text-align: center;
}

.custom-class {
    text-align: right;
    margin-top:70px;
}

Html

<p class="custom-class"><a href="">Go to the main website</a></p>
Aakash Aggarwal
  • 306
  • 2
  • 9