Style sheets in a user control

T

tshad

External and Internal CSS Style sheets are supposed to only be in the Head
section of a page.

What about User Controls where there is no head section but you want to be
able to load a special page for that control?

Where does that go (or does it matter)?

Thanks,

Tom
 
C

clintonG

Design your control to use CSS class declarations in the User Control and
embed the corresponding style declarations into the head at runtime or add a
linked stylesheet to the head to link an external stylesheet at runtime.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top