Create new JBoss Tools Documentation Jira issue

This will launch the Jboss Tools Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

Chapter 5. CSS Editing Perspective

5.1. Outline view
5.2. Properties view
5.3. CSS Properties view
5.4. CSS Preview

In this chapter we will discuss CSS Editing Perspective views, more information about style sheets can be found in Page Styling section of Editor chapter.

The CSS Editing Perspective combines a set of views which allow you to see the structure of your css files,edit them and see the results. To use this perspective you need to choose Window >Open Perspective> CSS Editing .All of the views are fully synchronized with each other:the changes being made in one view are reflected in othes at once.

As you know, there are three ways of inserting a style sheet:

Using CSS Editing Perspective you can change your style sheet, inserted in any of the possible places described before, in three ways:

CSS Editing Perspective

Figure 5.1. CSS Editing Perspective


Using this view you can easily skip between the selectors described in the source files, see the list of properties in any selector just by clicking the triangle near it.


You can use the Source viewer with the Outline view to navigate around the file. To do this you should just left click the selector or property you want and it will be automatically highlighted in the source code:


Properties view provides a full list of properties of a chosen selector. The properties are divided into logic groups for better navigation.


With the help of Properties view you have also the possibility to edit the css file by adding/editing/removing properties in the selector. Left click the "Value" field near the property you want to edit and write the changes in the text field.


CSS Properties view has five tabs:

Using CSS Preview you can see how a selector affects any text.


The preview is also edited by double click.You can write instead of the default text any text you want,including html tags.