DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 3 Aug 2007 10:05:59 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    tshad
          2    clintonG


Style sheets in a user control   
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
Date:Fri, 3 Aug 2007 10:05:59 -0700   Author:  

Re: Style sheets in a user control   
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/




"tshad"  wrote in message 
news:OragSCf1HHA.5884@TK2MSFTNGP02.phx.gbl...

> 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
> 
Date:Fri, 3 Aug 2007 14:35:17 -0500   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us