Script not working in VS

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
 
P

Patrick.O.Ige

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

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top