trouble with masterpages and link href


G

Guest

I have a very strange problem. Simply creating a Masterpage with nothing in
it but the Content Area and then making a page that uses this masterpage and
has a DataView Control, binds to a DataSet works ok.
But as soon as I add:
<link href="~/css/styles.css" rel="stylesheet" type="text/css" />

to the Masterpage (with or without ~ doesn't matter) gives:
Microsoft JScript runtime error: Object required


what could this be ?
 
Ad

Advertisements


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

Top