O'Reilly logo

TYPO3 Templates by Jeremy Greenawalt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Including stylesheets in TYPO3

There are almost half a dozen radically different methods to do anything in TYPO3, and CSS is no exception. TYPO3 has exactly four documented methods for including stylesheet links in templates:

  • Adding headers from the HTML template during the TemplaVoila Wizard
  • page.stylesheet
  • page.includeCSS
  • Page.headerData

Now, before you get too worried, let me ask you to go ahead and set your mind at ease. We are only going to end up using one method for our main template. In fact, I will cut the suspense and tell you right now that, like all good step-by-step books, we're going to use the fourth and final option. However, it's still important that you are aware of how the others work for a few reasons.

First, we'll hear all about ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required