RE: Center background with CSS

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 UTC