1.866.PIXELMILL (1.866.749.3564 US/Canada)

Search Support

Search our knowledgebase? Enter keywords or article id:

> go to search support


Support Index


Help and Support


Search

Go back to search results

Enter keyword or id#:




Promotions


Quick Links

Printable Article

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
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
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
Attaching stylesheet

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

New stylesheet created
New stylesheet created


Was this helpful?

Please rate this article:

Not helpful Very helpful
1 2 3 4 5 6 7

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

Items you recently viewed:


pm46519htdl1
$98.00

pm45887dwdl1
$94.00

pm45779fpdwtdl1
$87.00

pm46207fpdwtdl1
$98.00


PixelMill EDU

Introducing...

PixelMill EDUâ„¢ is an innovative and proprietary online training series designed to aid the do-it-yourself Web builder in transitioning to new Web editors, coding standards, and Web technologies.

Webinars and Seminars:

FrontPage to SharePoint Designer Series
This is a 6-Week series designed to give you strong exposure to the new SharePoint Designer web editor and interface, along with examples of working with Windows SharePoint Services and tips for transitioning from FrontPage.
Register Now!

Tables to Tableless CSS Series
This is a 6-Week series designed to help you transition from building Tables-based Web site layouts to working with CSS to edit and build Tableless Web site layouts. For all Web builders using Dreamweaver, Expression Web, or any other web editor.
Register Now!

FrontPage to Expression Web Series
This is a 6-Week series designed to give you strong exposure to the new Expression Web software and interface, along with tips for transitioning from FrontPage.
Register Now!

Learn more and register!

ADVERTISEMENT
adventisement