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

New Style

Article ID: KB101775

Format > New Style

The New Style dialog box can be accessed by going to Format > New Style, or clicking the New Style link in the Apply Styles or Manage Styles task panes.

Apply Styles task pane
Apply styles task pane

The New Style dialog box opens.

The first thing you want to do is to define your selector. A selector can be a class that you define, an ID that you define, or an HTML element that you can pick from the list. (See Learning CSS if you don't know what those terms mean.)

Dropdown list allows you to select an HTML element as your selector.
New Style dialog box - setting selector

You can also define custom classes or IDs as your selector.
Defining custom class or ID as selector.

Next, choose where you would like the new style code to be defined in. You can choose to define it in the current page (within <style> tags in the <head> of the page), in a new style sheet (the style will be defined in a new untitled .css file), or in an existing style sheet (you can choose an existing .css).

Defining the location of a style.
Defining the location of the style

If you have a page open in Expression Web for editing and your cursor is on the page or you have some content selected, you can check the Apply new style to document selection option and your custom class or ID will be applied to the selection.

Applying the style to your selected content.
Applying style to document selection

The next section shows all of the possible CSS properties that can be defined. Expression Web organizes the different properties into "categories." The diagram below shows the Font category, where you can set properties like the font, text size, and color, in contrast to the Block category, where you can set the alignment of text, the space between lines of text, and more.

CSS categories
CSS Categories

To modify the properties most effectively, you should learn a bit of basic CSS so that you know what the different possibilities are. Expression Web does help you to learn what some of the values can be by allowing you to select them from a dropdown.

Expression Web helps you by showing possible values.
Expression Web helps show possible values.

As you create your new style and define properties for the style, Expression Web shows you a preview of how text might be affected by your style and also shows the CSS code that will be generated.

Preview of new style and CSS code.
Preview of style and code.

When you are done, click OK and your new style will be 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/kb101775.htm
permalink to this article: http://www.pixelmill.com/support/kb101775.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