Stylesheets

You can control the look and feel of your application using a stylesheet.

Nexaweb Java applications use a .xss stylesheet and Nexaweb Ajax applications use a .css stylesheet.

Nexaweb stores a project's default stylesheet in:

Nexaweb Application Type

Filename

Location

Nexaweb Java Application

stylesheet.xss

The project's WebContent directory

Nexaweb Ajax Application

xapDefault.css

The project's WebContent directory \nxAjax\css

The default CSS for a Nexaweb Ajax application is imported into the application through the ajax-index.html page, which is created by default when you create a new application.

You can edit the xapDefault.css file as appropriate, or create a new stylesheet and modify ajax-index.html to load that stylesheet. For more information on CSS files, see a CSS reference guide.