text: Q:
  
  how i can position the text inside div make next to image?
  
  I'm trying to build Ebay register form.
  On top I want to move the sign-in text to the right next to Ebay pic
  tried float and text-align and none is work
  
  HTML
  <div class="top1">
    <img src="pic/eb.png"/>
    <P id="sigin">Already a member?<a href="https://signin.ebay.com">Sign in</a></P>
  </div>
  
  CSS
  .top1{
    height: 25%;
    width: 100;
  }
  
  #sigin{
    float:right;
    text-align: right;
    font-weight:bold;
    font-size:18px;
  }
  
  A:
  
  use flexbox
  just tested this and it works perfectly.
  <!DOCTYPE html>
  
  <html>
  
      <div class="top1">
          <img src="pic/eb.png"/>
          <P id="sigin">Already a member?<a href="https://signin.ebay.com">Sign in</a></P>
      </div>
  
        <style>
          .top1{
              display: flex;
              flex-direction: row;
              height: 25%;
              width: 100;
          }
  
          #sigin{
              text-align: right;
              font-weight:bold;
              font-size:18px;
          }
        </style>
  </html>
  
  