Ive noticed a problem with the windows application "Notepad.exe". Everytime i open a CSS, HTML, PHP, XML or any script file up in notepad it messes the whole code up. Here is an example of a small portion of code from my style.css.
This is how it is supposed to look:
/*
+--------------------------------------------------------------------------
| Cascading Style Sheet for MKportal "default" Portal Template
| ========================================
| by Meo aka Luponero [Amedeo de longis]
| Don K. Colburn [visiblesoul.net]
| © 2004-2007 mkportal.it
| http://www.mkportal.it
| Email: [email protected]
+--------------------------------------------------------------------------
| > MKPortal
| > Written By Amedeo de longis
| > Date started: 9.2.2004
+--------------------------------------------------------------------------
*/
/*=============================
M
K global styles
P
=============================*/
body {
background-color: #efefef;
font-size: 10px;
color: #666666;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin:0px;
padding:0px; /* Opera 0 margin */
text-align: center; /* center in IE */
}
/* portal wrapper */
#mkwrapper {
text-align:left; /* left-align text in IE */
margin: 0px auto 0px auto;
}
/* logostrip */
#mklogostrip {
/* background-image: url(MKPORTALIMGDIR/sf_logo.jpg); */
background-color: #8cb6e7;
text-align: left;
}
This is what it look like after been opened up in Notepad.exe:
/*+--------------------------------------------------------------------------| Cascading Style Sheet for MKportal "default" Portal Template| ========================================| by Meo aka Luponero [Amedeo de longis]| Don K. Colburn [visiblesoul.net]| © 2004-2007 mkportal.it| http://www.mkportal.it| Email: [email protected]+--------------------------------------------------------------------------| > MKPortal| > Written By Amedeo de longis| > Date started: 9.2.2004+--------------------------------------------------------------------------*//*=============================MK global stylesP=============================*/body { background: #000 url('http://www.gta4gamers.com/back_bg.jpg') center top no-repeat fixed; font-size: 14px; color: #666666; font-family: Tahoma, Arial, Helvetica, sans-serif; margin:0px; padding:0px; /* Opera 0 margin */ text-align: center; /* center in IE */ }/* portal wrapper */#mkwrapper { text-align:left; /* left-align text in IE */ margin: 0px auto 0px auto;}/* logostrip */#mklogostrip { /* background-image: url(MKPORTALIMGDIR/sf_logo.jpg); */ background-color: #8cb6e7; text-align: left;}/* global font formatting */table,tr,td { font-size: 11px; color: #cccccc; font-family: Tahoma, Arial, Helvetica, sans-serif; }/* Inside Block Font */.tdglobal {font-size: 11px; color: #cccccc; font-family: Tahoma, Arial, Helvetica, sans-serif; }/* main portal table */.tabmain { margin:0px; padding:0px; }/* images */img { border: 0px; vertical-align: middle; /* Meo: Added in C1.2 */}/*=============================MK LIGHT BACKGROUNDP=============================*/.urlo2,.taburlo { background-color: #111111; color: #666666;}/*=============================MK MEDIUM BACKGROUNDP=============================*/.navigatore,.moduleborder { background-color: #000000; color: #496c9f;}/*=============================MK NEWS BLOCK BACK COLORSP=============================*/.trattini,.modulecell,.taburlo {background-color: #101010; color: #666666;}/*=============================MK NEWS BLOCK COLORSP=============================*/.tabnews {background-color: #242424; color: #666666;}/*=============================MK TABLE BACKGROUNDP=============================*/.tabmain {background-color: #
Im quite confused why it keep's happening, has anyone seen this before here and know why it happens? it dosen't seem to happen when opening code up in any of editors. Also is there a way to fix it when this happens because my CSS is kinda screwed
Thanks, Neil.