ASP.NET / Visual Studio bug?

S

shapper

Hello,

I have a CSS file, in App_Themes folder, with the following code in
it:

/*
Base
Global styling rules
Release: 01-03-2008
*/

body
{
color: #606060;
font-family: arial, verdana, helvetica, sans-serif;
}

The CSS validator in http://jigsaw.w3.org/css-validator/ does not
validate my page.

The problem is that ASP.NET changes my CSS file to:

/*
Base
Global styling rules
Release: 01-03-2008
*/

body
{
color: #606060;
font-family: arial, verdana, helvetica, sans-serif;
}

See the  characters? Why does this happens?

Thanks,

Miguel
 
S

shapper

Hello,

I have a CSS file, in App_Themes folder, with the following code in
it:

/*
Base
Global styling rules
Release: 01-03-2008
*/

body
{
color: #606060;
font-family: arial, verdana, helvetica, sans-serif;

}

The CSS validator inhttp://jigsaw.w3.org/css-validator/does not
validate my page.

The problem is that ASP.NET changes my CSS file to:

/*
Base
Global styling rules
Release: 01-03-2008
*/

body
{
color: #606060;
font-family: arial, verdana, helvetica, sans-serif;

}

See the  characters? Why does this happens?

Thanks,

Miguel

The symbol is ï » ¿

Without the spaces. Why is this added to the start of my CSS file?
 
C

clintonG

Go read my comments to your earlier post about CSS and 3.5

Hello,

I have a CSS file, in App_Themes folder, with the following code in
it:

/*
Base
Global styling rules
Release: 01-03-2008
*/

body
{
color: #606060;
font-family: arial, verdana, helvetica, sans-serif;

}

The CSS validator inhttp://jigsaw.w3.org/css-validator/does not
validate my page.

The problem is that ASP.NET changes my CSS file to:

/*
Base
Global styling rules
Release: 01-03-2008
*/

body
{
color: #606060;
font-family: arial, verdana, helvetica, sans-serif;

}

See the  characters? Why does this happens?

Thanks,

Miguel

The symbol is ï » ¿

Without the spaces. Why is this added to the start of my CSS file?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top