Attaching a stylesheet in Expression Web
Article ID: KB101772
Attaching an existing stylesheet to a page or site
Format > CSS Styles > Attach Style Sheet
To attach an existing stylesheet to a page, first make sure that you have the
.css file imported into your web
site.
Then go to Format > CSS Styles > Attach Style Sheet.
Attach Style Sheet dialog box

Browse to the .css file and select it.
In the dialog box, you can also choose to link the stylesheet or to
import the stylesheet.
- link: Most commonly used. If you link more than one stylesheet, some
browsers will allow the user to choose between the different stylesheets.
- import: Often used if you have several different stylesheets, as import
will combine them into "one" stylesheet when the viewer looks at the page.
For example -- you might have a base stylesheet, then a different stylesheet
for certain pages.
You can then choose if you want to attach this only to your current page
or to all HTML pages in your web site. If you have selected pages in
your Folder List, you can also choose to attach the stylesheet only to
selected pages.
Click OK to attach the stylesheet.
Creating and attaching a new stylesheet to a page
When you create a new style using the New Style button in the Apply Styles or
Manage Styles task pane (or Format > New Style), you have the option to create
the style in a new stylesheet and then to link the new stylesheet to the page
you were working on.
Creating style in new stylesheet

After clicking OK to create the new style, another prompt box will open
asking if you want to attach the newly created stylesheet to your web site.
Click yes.
Attaching the stylesheet

You will see a new page created that you can now save into your web site.
New stylesheet created

Authors and Contributors:
Corrie Haffly
Was this helpful?
Please rate this article:
Email address: (not required)
(Please provide your email address if you would like PixelMill support to follow-up with you about your comment. You're email address is NOT REQUIRED to submit a comment.)
Comments: (How can we improve this article?)
Clicking "Submit" will not clear this page.
link to this page:
http://www.pixelmill.com/support/al1134/kb101772.htm
permalink to this article:
http://www.pixelmill.com/support/kb101772.htm
Back to top