[ 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]
> 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.