This is my last attempt to find information which propably doesn't exist.
There are numerous posts about how WYSIWYG-editor (aka visual editor) changes the HTML- and CSS-tags but there seems to be no solution. Although it seems to be well known fact that visual editors add P-tags and remove DIV-tags and do all sorts of weird things to your coding, only solution I've found is "don't use the WYSIWYG-editor".
It sounds simple solution but it isn't. Imagine that you are a web designer and you are making website for client who doesn't know HTML- and CSS-coding at all. You know excatly how to make the website which your client wants but WordPress WYSIWYG editor doesn't allow you to do that. Instead WYSIWYG editor window changes your website to something else. Now - if you turn the visual editor off as you propably have to do, you can write your codes as you want and it works. But after the website is ready and it's running you have to give the controls to your client who still doesn't know any HTML/CSS. Of course he needs to update the site and only thing he can do is to use the WYSIWYG-editor. I assume you can understand what happens next and you can propably understand that client won't be very happy with the results.
So - here is my question. Is there ANY WAY to make visual editor NOT to change the code - leave to code you have written intact so to speak?
Ps. Here some else also having this same issue:
And few others also: