Allows you to add Internet Explorer specific style sheets to your skin,
please note that this Skin Object might be replaced in the Future.
Please note that you have to add all Attributes for this SKO to work or you will get a NULL exception
---
uid: styles
locale: en
title: Styles Theme object
dnnversion: 09.02.00
previous-topic: search
next-topic: tags
related-topics: theme-objects,themes,create-theme
links:
---
# Styles Theme Object Introduction
Allows you to add Internet Explorer specific style sheets to your skin,
please note that this Skin Object might be replaced in the Future.
Please note that you have to add all Attributes for this SKO to work or you will get a NULL exception
**Current Version:** 01.00.00
## Include in Theme
### ASCX
``` html
<%@ Register TagPrefix="dnn" TagName="Styles" Src="~/Admin/Skins/styles.ascx" %>
<dnn:Styles runat="server" id="dnnStyles" />
```
### HTML Token
### HTML Object Token
``` html
```
| Attribute | Description | Default | Posssible Values | DNN Version |
| --- | --- | --- | --- | --- |
| IsFirst | Adds the stylesheet link before all the<br/>other stylesheets, if False added after<br/>the last stylesheet (portal.css) | False | True / False | 01.00.00 |
| Condition | Internet Explorer specific condition.<br/>See: http://msdn.microsoft.com/en-<br/>us/library/ms537512(VS.85).aspx | False | True / False | 01.00.00 |
| Name | Set the ID of the stylesheet link | | String | 01.00.00 |
| StyleSheet | Filename of the stylesheet | | Filename String | 01.00.00 |
| UseSkinPath | Adds the skinpath to the value set in<br/>the Stylesheet attribute | | True / False | 01.00.00 |
## Examples:
### Load Stylesheet from Theme
~~~html
<dnn:Styles runat="server" id="dnnStyles2" UseSkinPath="True" Condition="" Name="test" Media="" IsFirst="False" StyleSheet="custom/css/green.css" />
~~~