I am trying to move my text to the lower right corner but I can not

1

My code:

<font color="white" align="right">&nbsp;
<br>
Lucas Sintra
</div>
    
asked by anonymous 03.01.2018 / 15:59

2 answers

2

In your <div> add the style stanza and the text-align: right; property

I left the background of <div> as gray just to allow the display in the response.

<div style="background-color:#ccc; text-align: right;">
<font color="white" align="right">
  &nbsp;
  <br>
  Lucas Sintra
</font>
</div>
    
03.01.2018 / 16:58
1

I made this little model very simple just to help you understand the code, if you have any questions and just comment that I help you. Click Run to see it working!

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    }
.texto {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0 1rem 1rem 0;
}
.texto p {
    line-height: 0;
    color: red;
    font-size: 2rem;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
<div class="texto">
    <p>Lucas Sintra</p>
</div>
    
03.01.2018 / 16:58