[ List Archives Home ] [ Thread index for 2008 ]
[ Date index for 2008 ]
[ Author index for 2008 ]
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- Date: Wed, 28 Dec 2005 12:39:30 -0700
- From: "Ed Seedhouse" <ed at gvpl dot ca>
- Subject: RE: [IUG] toplogo.html
> On our staging server (
http://library.cwu.edu:2082/) I have essentially
> commented out the text of my toplogo file and have replaced it
> with a call
> to my style sheet (catalog.css) in the body command:
>
> body {
> margin-top:97px;
> font-size: 80%;
> font-family: Verdana, Arial, Helvetica, sans-serif;
> background : #ffffff;
> background-image:url(/screens/cattrax_photo_banner.jpg);
> background-repeat:no-repeat;
> }
You are mixing styles a bit. The "background" property is a shortcut that
can do it all on one line such as:
background : #ffffff url(/screens/cattrax_photo_banner.jpg) no-repeat;
Or, if you still want to spread that out over several lines you can use:
background-color : #ffffff;
background-image:url(/screens/cattrax_photo_banner.jpg);
background-repeat:no-repeat;
Either way would be more styliscally consistent. Also, if you set a
background .css rules require you to also set a color. Or at least the
validator at the w3c site says so.
I really like the visual impression of your page, by the way.
Ed Seedhouse
Systems Dept.
Greater Victoria Public Library.