Prev | Current Page 275 | Next

Charles Wyke-Smith

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

(Take a look at the section of this style
sheet I show below if this explanation is confusing to you.) I always
seem to end up tweaking these styles for each speci?¬? c project, but
this style sheet makes a great starting point. I get an acceptable and
harmonious look to my text and element backgrounds from the getgo,
and it has already saved me hours of work.
I usually make a copy of the text_n_colors.css style sheet in the
CSS folder of the project, and then, so I don??™t have to modify those
styles directly, I add the styles speci?¬? c to the site at the end of this
style sheet, allowing me to override the preceding styles that I want
to change. I will do this in the example that follows.
The text_n_colors.css style sheet which I copy from the library
into each site??™s CSS folder, as I did previously, is currently a few
hundred lines long as a I have a number of color schemes set up in
it. At the end of the styling process, I tend to go back into this style
sheet and remove all the sets of styles I didn??™t need??”if I based my
design on the set of color styles with the lime class, I might as well
strip out the other color sets. To save space here, I won??™t show all
the styles in this style sheet; I??™ll just show you the styles I kept from
STYLIN??™ WITH CSS - CHAPTER 7 244
the original text_n_colors.css after completing the design for this
site.


Pages:
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287