Prev | Current Page 170 | Next

Charles Wyke-Smith

"Stylin' with CSS: A Designer's Guide 2nd Edition"


This means I can make visual changes, such as color and type size,
without worrying about affecting the workings of the menu or whatever
it is I am styling.
As part of this book, you can download the Stylib CSS library from
the stylinwithcss.com site??”I am going to use it throughout the
upcoming chapters, and you can see (and download) the ?¬? nished
examples and the Stylib library as a basis for your own site designs.
Rather than explain all the details of how it works right now, we??™ll
just start using it, and see the features as we go along.
Width Matters
Remember as you read this chapter that all these layouts increase
their vertical height automatically, according to the content within
them. If you add more content, the layout increases its height to
accommodate it, and that is exactly what you want to have happen.
However, controlling the horizontal width of these layouts is
key to the way they function. Users detest horizontal scrolling, so
it??™s important to ensure they do not have to do that. Also, most of
these layouts are based on using elements that are ?¬‚ oated using
CSS to create columns, and these kinds of layouts can display incorrectly
if they do not maintain key width dimensions. All this will be
explained in detail as we look at the examples, but remember: You
The Stylib library is at an early stage,
and I welcome your feedback and
any contributions you want to make
to the library.


Pages:
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182