Joomla! A User's Guide
Building a Joomla! Powered Website
Creating a Pure CSS Joomla 1.5
In this chapter, we'll go through the steps of creating a Joomla template. Specifically, we will create a
template that uses Cascading Style Sheets (CSS) to produce a layout without use of tables. This is a
desirable goal because it means that the template code is easier to validate to World Wide Web
Consortium (W3C) standards. It will also tend to load faster, be easier to maintain, and perform better in
search engines. These issues are discussed in detail later in the chapter.
In This Chapter
• What is a Joomla template? What functions are performed by a Joomla template, and
what is the difference when a template has no content versus when content is added into
the Content Management System (CMS).
• How does the localhost design process differ to that of a static (X)HTML web page?
• What are the implications of tableless design in Joomla and the relationship between
W3C standards, usability, and accessibility?
• What files make up a Joomla template, and what functions do they perform?
• How do you create a source-ordered 3-column layout using CSS rather than tables?
• What are the basic CSS styles that should be used with Joomla, and what are the default
styles that are used by the Joomla core?
• How do you place and style modules, and what are some new techniques for rounded
• What would be a simple strategy to produce lean CSS menus that mimic the effect of
• How do you control when columns are shown and hide them when no content is present?
• What are the proper steps to create a real Joomla 1.5 template?
What Is a Joomla Template?
A Joomla template is a series of files within the Joomla CMS that control the presentation of the content.
The Joomla template is not a website; it's also not considered a complete website design. The template is
the basic foundation design for viewing your Joomla website. To produce the effect of a "complete