Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop

    How manage horizontal space betwenn two elemts

    Front-End Development
    angular frontend html
    1
    1
    276
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SachithAnu
      SachithAnu Web Development last edited by

      Screenshot 2021-05-22 at 12.12.57.png

      how reduce space value bet ween 1st column and 2nd column.

      code:-

      <table>
      <tr>
      <td><input type="text" class="form-control" [(ngModel)]="inputItem"></td><td><button class="btn btn-primary" (click)="addToDo()">Add To Todo</button></td>
      </tr>
      <tr *ngFor="let item of todo; let i = index">
      {{i}}<td><ul class="list-group"><li class="list-group-item">{{item.content}}</li></ul></td>
      <td><button class="btn btn-default" (click)="removeDo(i)"> Remove</button></td>
      </tr>
      </table>

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      1
      Online

      3.7k
      Users

      1.3k
      Topics

      5.3k
      Posts

      • Privacy
      • Terms & Conditions
      • Donate

      © Copyrights and All right reserved Lanka Developers Community

      Powered by Axis Technologies (PVT) Ltd

      Made with in Sri Lanka

      | |