css" type="text/css" rel="stylesheet" />
We loaded the site.conf configuration file using {config_load file="site.conf"} and accessed the
site_title variable with {#site_title#}, which you??™ll use whenever you need to obtain the site title. If you
want to change the site title, all you have to do is edit site.conf.
Last, it??™s worth noting that we??™re using cascading style sheets (CSS). CSS is a powerful language used to describe
the appearance of the elements of a web page. CSS definitions can be stored in one or more files with the .css
extensions, or even included in the HTML file, allowing web designers to detach the CSS styling definitions from
the HTML document structure. If the job is done right, and CSS is used consistently in a web site, CSS will allow
you to make visual changes to the entire site (or parts of the site) with very little effort, just by editing the CSS file.
In our case, we used three CSS files from the YUI library, and we have defined one of our own as well. It??™s not necessary
to investigate the details of the YUI CSS files, although you can do that by studying the product documentation.
As far as we are concerned, it??™s enough to say that using YUI helps us create a simple and valid layout that renders
fine on all modern browsers.
If you??™ve never worked with CSS before, don??™t worry. It??™s rather straightforward, and you will be able to harness
much of its power quickly.
Pages:
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119