Module: Editor
Version: 4.2.1 +
User: Developer / Designer
Level: Beginner
Introduction
In this tutorial we'll show you how to style your website. We will add a stylesheet in which we define what our website must look like. By applying CssClasses to the objects in our application (in the Futurama Editor), we can style the website the way we want it to look.
Prerequisites
- The Futurama Editor must be installed.
- Futurama Runtime must be installed.
- Basic knowledge of CSS is recommended.
- Completing the tutorial Creating a Website Application first, is recommended.
Description
In this tutorial we will show you the basics of how to apply CSS (Cascading StyleSheets) in your Futurama-website.
In the previous tutorial we created the website-application, only consisting a number, the result of the savings-formula. In this tutorial we will extend our website with webpanels - the general building 'blocks' for our website - and more content: general content, including graphics and text.
We divide our website into different sections, and give the sections the appropriate content.
By applying CssClasses to the website-objects we created, we can give the object the lay-out we want. Therefore we introduce the stylesheet that we will link to the website. The stylesheet already contains the style-tags we intend to use for our website.
We end up with a website that already shows the basic structure of the website we want to build.
In the next tutorial we will introduce interactivity to the website. We will create input-fields for the interest and cash balance, and the savings account will be calculated based on the values entered.