Wrox Home  
Search P2P Archive for: Go

  Return to Index  

interdev_programming thread: VI changes HTML tags to lowercase


Message #1 by "Brian Beaudet" <bbeaudet@u...> on Tue, 16 Oct 2001 14:13:38
I prefer to have my tags set up as such:

<FONT size="3"></FONT>

with the HTML tag in uppercase and the attributes all in lowercase.  This 
is how I write my code and have been doing so for years using Notepad.

Now, I've been using VI for about a year.  I'm familiar with the fact that 
VI rearranges your code when you view in the design mode.  Therefore, I've 
always kept out of the design mode and stayed in source mode.  However, 
I've come across another problem.  For whatever reason, my HTML tags will 
be set to lowercase upon opening a previously created .asp page.

When I view the source code for these files in my browser I have noticed 
that the tags appear in uppercase (the way I previously coded it).  

I've had to resort to coding all in lowercase which is difficult for me to 
do because I'm stuck in my old habits.  What can I do?  Has anyone come 
across this?  

I've tried other editors (Homesite and Scriptbuilder) which allow you more 
control over the layout of your code.  What about VI?  I haven't found any 
information on this as of yet.

Please help me figure this out.

Thanks, 

Brian Beaudet
Web Applications Developer
B Squared Web Applications
Trussville, AL
bbeaudet@b...

  Return to Index