## Output style options

All of these options are optional. When an option allows a HTML element and a class attribute, omitting the HTML element will cause the class attribute to be ignored and that content will be output without any HTML wrapping it.

Note Always input HTML elements without the `<` and `>`. Your valid input will be inserted between the angle brackets in the template.

Note Any class attributes you input will be concatenated and rendered as the class attribute's value in the template. For example, your valid input `row node blog` as the class attribute for a `div` element will be rendered as `<div class="row node blog">`.

### Grouping title

For Views where the results are grouped, the HTML element and class attribute can be specified for the element that wraps the title.

### List

With this option, Semantic Views can behave like the Views 2 HTML List display plugin. HTML unordered, ordered and definition lists can be created in the by choosing a list type. It's important to remember that HTML lists have additional constraints on their child elements. `<ul>` and `<ol>` must have `<li>` children and `<dl>` must have `<dt>` and `<dd>` children.

### Row

Rows are the results of the executed view. The number of rows in a view display is determined by the pager (or if the number of results is less than the pager limit, the number of results).

#### HTML element

The HTML element for the row is usually `<div>`.

#### Class attribute

This is the basic class attribute for each row. If it includes a # the row number will be substituted. Multiple class attributes can be specified: `row` or `row row-#`.

#### First and last classes

By default, Views row style adds a `first` class attribute to the first result in the pager and a `last` class attribute to the last result in the pager.

##### First/Last every nth

When this is set to `0`, the first and last class attributes are added first and last results in the pager. If you specify a number greater than 1, first and last class attributes are added at that interval within the pager result set. This can be used to improve upon the Grid display plugin that comes with Views 2.

For example, if you have a grid layout with 5 column units with a gutter maintained by right margins on all units except the last one, setting this option to `5` will add a `last` class to every 5th result row (not to be confused with rows in your grid layout). `first` class attributes are added to the first result row in the pager and to each result that follows a `last` result.

If the following two options are left empty, the `first/last every nth` option has no effect.

##### FIRST class attribute

This is the actual class attribute that is inserted. It is optional and defaults to `first`.

##### LAST class attribute

This is the actual class attribute that is inserted. It is optional and defaults to `last`.

#### Striping class attributes

When this is set, every row will have one of the class attributes specified here. The default is `odd even` so that n row has a class attribute of `odd` and n + 1 row has a class attribute of `even`. You are not limited to only two striping class attributes. It's perfectly valid to use `north south east west` to stripe your rows 4 different ways or to leave this option empty to disable striping.