locked
Align body left - Jquery HTML datatables bootstrap4 RRS feed

  • Question

  • User1509050366 posted

    Hi,

    I want the left margin of my page body to be 10px or so... how do I move all the contents to left?

    I'm using Jquery datatables, MVC 5 and Bootstrap 4

    reference image below

    Orignial

    https://ibb.co/HLZj5cN

    This is how I want

    https://ibb.co/KzQQpr6

    Thursday, July 18, 2019 12:11 PM

Answers

  • User1520731567 posted

    Hi singhswat,

    If you want to move above part to the left,you could add

    style="margin-right: 100px;"

    to your html.

    You could open F12 to test,like the picture:

    If you still have any questions,please post your code so that I can reproduce your issue.

    Best Regards.

    Yuki Tao

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 19, 2019 3:05 AM

All replies

  • User-474980206 posted

    its the default, so without seeing your markup, we do not know what your did. you should use the browser debug tools, to look at the allied css, and determine what you did wrong.

    have you read the bootstrap guide to understand their grid layout?

    Thursday, July 18, 2019 3:53 PM
  • User1520731567 posted

    Hi singhswat,

    If you want to move above part to the left,you could add

    style="margin-right: 100px;"

    to your html.

    You could open F12 to test,like the picture:

    If you still have any questions,please post your code so that I can reproduce your issue.

    Best Regards.

    Yuki Tao

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 19, 2019 3:05 AM