Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: CSS - Is THIS Possible?

  • Subject: Re: CSS - Is THIS Possible?
  • From: David Dorward <dorward@yahoo.com>
  • Date: Sun, 05 Dec 2004 14:11:23 +0000
  • Newsgroups: alt.html
  • References: <cout1d$2u0l$1@godfrey.mcc.ac.uk>
  • User-agent: KNode/0.8.1
  • Xref: news.mcc.ac.uk alt.html:272496
Roy Schestowitz wrote:

> My question is: can the line
> right: 300px;
> be replaced so that the object always appears in the _center_?

right: 50%;          /* Half the containing block */
margin-right: -25px; /* Half the width of the element */

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                     Home is where the ~/.bashrc is

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index