Inline styles

Introduction

Inline styles are not allowed in the BLE project, so we need to remove them. We can run some automated tests to see if there is a style attribute present anywhere in the pages.

Outcome

  • margin-top and margin-bottom: This is a setting for each and every content element and can be added in the tab Appearance. (see Appearance > Margins)
  • text-align: Only for headers this style is used (see Headers > Alignment)
  • width: For Text with images and Images the width attribute is used to keep the caption below the image, not exceeding the image width. (see all Text & Images and Images pages)
  • margin: Used for the Text with Image with setting NO WRAP Beside text, left and right. (see Text & Images > Position and Alignment)