Search code examples
htmlvisual-studio-2008text-editortext-formatting

Visual Studio HTML designer adds a <p></p> every time I switch to design view, I end up with a gazillion lines


I use split view, whenever I change the HTML code and switch to design view (clicking that popup "Design view is out of source view blah blah") VS adds 3

lines to the HTML.

eventually it has many many lines which is very annoying to code like this.

Has enyone encountered this before?


Solution

  • I never use the design view, but can you post your html code so I could check if its valid?

    btw: Do you adhere to the intellisense rules, or do u have your own ways of coding html files?

    My view is that your html code is invalid, and design view has problems displaying it and messes it up.