Style sheets in a user control

  • Thread starter Thread starter tshad
  • Start date Start date
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
 
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/
 
Back
Top