Script not working in VS

  • Thread starter Thread starter tshad
  • Start date Start date
T

tshad

I tried to add the following to web page in VS 2003:

<style>
div
{
font: 8pt verdana;
background-color:cccccc;
border-color:black;
border-width:1;
border-style:solid;
padding:10,10,10,10;
}
</style>

and the IDE told me:

The active schema does not support the element 'style'.

Why is this and how can I add styles to my Web Page in VS?

Thanks,

Tom
 
I guess u were not putting it in btw the <head> tag..
it should work as Eliyahu adviced
Patrick
 

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

Back
Top