Why I cannot move the dimension line to fit the dashed line? If I move, the dimension line always goes to pass it ( go to the black line above). This also happens when I use line.
Sounds like you have Snap to Grid turned on. It is under View or Ctrl+Shift+F9 to toggle it on and off.
Thank you very much, you are correct. It work now