Injecting a Style Sheet to a Master Page

R

Rob Reagan

I am using a MasterPage, and within a normal page that uses the master
page, I want to be able to inject this line to include a second
stylesheet:

<style type="text/css">@import url(js/calendar-win2k-1.css);</style>

How can I do this?

Thanks in advance,
Rob Reagan
 
G

Guest

you can put a contentplaceholder in the head if the head is marked
runat=server. It sometimes puts an error about it in the error list but
double clicking on that removes it.

HTH

Ciaran O'Donnell
 

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,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top