Link to home
Start Free TrialLog in
Avatar of Type25
Type25

asked on

Fed up with VS.NET HTML/CSS Formatting!!


As the title suggests, i've just about had it with VS.NET formatting my HTML and CSS for me..... it's just awful.

As an example, if i type in... (and let's face it doesn't exactly *like* you typing anything in the HTML view) :

<div style="padding:0"></div>

Why, when i exit out and then back in again does it now look like:

<div style="PADDING-LEFT:0; PADDING-RIGHT:0; PADDING-TOP:0; PADDING-BOTTOM:0">

So not only does it add unwanted attributes it also CAPITALIZES them.... i'm sure web standards say that CSS should be lowercase.
On top of that, it orders them in a completely random way... one minute i'm typing out a label at the top of the page next minute it's hidden in the mish-mash HTML it creates.

I've tried just about every option i know about in VS.NET.

Anybody else ready to slap MS silly?

I've probably blatently missed something so any pointers how i can stop vs.net 'helping out' that would be great.

Avatar of Type25
Type25

ASKER

Also, please don't reply with:

1) Use notepad
2) Use external stylesheet (i'm already doing this in a lot of cases)
3) Ignore it

Thanks!!!  ;)

T25
Read this blog.. It will answer your question.

http://blogs.msdn.com/MikhailArkhipov/archive/2004/05/16/132886.aspx
Avatar of Type25

ASKER

Right OK...   how do i change what HTML paraser VS.NET uses?

ASKER CERTIFIED SOLUTION
Avatar of jong3
jong3

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Type25

ASKER

Thanks, that's what i was after.