> -----Original Message----- > From: Eduardo Dominguez [mailto:lalo at teligens.com] > Sent: Thursday, June 13, 2002 7:41 PM > To: thelist at lists.evolt.org > Subject: Re: [thelist] Centering a div with CSS > > Burhan, > > tried this: > > .test{ > width: 780px; > left: auto; > right: auto; > } > > but the div still appears on the left side. How about .test { width: 780px; margin-left: auto; margin-right: auto; }