W3C home > Mailing lists > Public > www-style@w3.org > January 1999

RE: Center background with CSS

From: Barry van Oven <bvoven@baan.nl>
Date: Fri, 15 Jan 1999 10:00:27 +0100
Message-ID: <D3FB42C30BC6D011AB3B00805F191C1D0341CC77@ex-nld-u1.baan.com>
To: "'Richard Hedlind'" <rjhedlin@brain.uccs.edu>, WWW-Style <www-style@w3.org>
Make sure you don't use shorthands when composing CSS for Netscape:
Navigator only takes up on the long versions. So, it would have to be
background-image and background-position!

-----Original Message-----
From: Richard Hedlind [mailto:rjhedlin@brain.uccs.edu]
Sent: Thursday, January 14, 1999 23:34
To: WWW-Style
Subject: Center background with CSS


Hi,

How do I center the background in Netscape with style sheets?

this is the code I use now, but it works only in IE, not Netscape:

.main
{
 background: white url(images/hbar30l.gif) center;
 background-repeat: no-repeat;
} 

Richard ( rjhedlin@mail.uccs.edu )
Received on Friday, 15 January 1999 04:00:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT