View Full Version : Parser Error


Vanessa023
11-04-2009, 03:51 PM
Hey All!!

I hope someone can help me with this... I'm ready to pull my hair out.

Long story short, when I do not input a CSS, the page loads fine with no errors.

When I do add a CSS I get this:

Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Only Content controls are allowed directly in a content page that contains Content controls.

Source Error:

Line 1:
Line 2: <style type="text/css">
Line 3: <!--
Line 4: .style2 {font-size: 14px}

Source File: /home_designs.aspx Line: 2

Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

-----

Haven't worked on a Mac in a while and I don't really know where to go from here. I'm using Dreamweaver if that helps as well. I feel like the code is correct? I don't know much about servers and such.

Thanks,
Vanessa

iGeek
11-07-2009, 09:14 AM
Take out the HTML comments in the CSS code.

chuosdnj
12-11-2009, 02:12 PM
I don't really know where to go from here. I'm using Dreamweaver if that helps as well. I feel like the code is correct? I don't know much about servers and such.
___________
simulation de credits immo gratuit | (http://simulateurdecredit.org/)Taux pret simulateur de credit immobilier | (http://simulateurdecredit.org/)Simulateur de credit auto (http://simulateurdecredit.org/)