Dynamicweb 8 Documentation
AddStylesheet(String) Method
Example 

The stylesheet path reference.
Adds a stylesheet path to the pages stylesheets section in head.
Syntax
'Declaration
 
Public Overloads Sub AddStylesheet( _ 
   ByVal stylesheet As String _ 
) 
public void AddStylesheet( 
   string stylesheet 
)

Parameters

stylesheet
The stylesheet path reference.
Example
Adding a stylesheetAdding a stylesheet
Dynamicweb.Frontend.PageView.Current().AddStylesheet("/Files/System/MyCss.css");
Dynamicweb.Frontend.PageView.Current.AddStylesheet("/Files/System/MyCss.css")
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PageView Class
PageView Members
Overload List

Send Feedback