Dreamweaver Code View Cursor Misalignment Solution
Dreamweaver Code View Cursor Misalignment Solution
The cursor misalignment issue in Dreamweaver’s code view didn’t exist in versions before Dreamweaver CS3, and this phenomenon only occurs when the encoding is UTF-8. The default page creation setting in Dreamweaver CS3 is UTF-8. When Chinese characters appear in the code, clicking to position the cursor causes misalignment - clicking in one place results in the cursor insertion point being several positions ahead, and the more Chinese characters in a line of code, the more noticeable the misalignment.
The solution is actually quite simple - just adjust the preferences.
Click in sequence: Edit - Preferences - Fonts, select Unicode in the “Font settings” list. If you select other options, you’ll notice the three font settings below the list will also change.
The items in the list are actually the font settings corresponding to different encodings. When our encoding is UTF-8, the corresponding option is Unicode.
Then select “SimSun” in the code view, size 9pt, and you’re done.