views:

80

answers:

1

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?

A: 

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.

waqasahmed
The reason was I nested Ps which is not allowed (i.e. <p><p></p></p>) or/and a div was placed inside a P which is also not allowed, thanks for your point.
Shimmy