|
Posted by dorayme on 11/16/06 08:29
In article <Xns987D4F4199F31KeithYammer@212.23.3.119>,
K A Nuttall <keith@yammer.coedotyoukay.invalid> wrote:
> As the man said: let's see the code.
er... look old chap, sex is a very sensitive matter at alt.html
with so many characters of uncertain determination floating
about... but I think on this occasion, you need to revise your
remark. <g>
To the OP, understand this:
A div is by default 100% of its container wide. If it is an image
that is 500px wide you want to centre, no problems (cough,
cough), just make the div as wide as the image or a bit bigger
(for borders, captions, whatever)
width: 520px;
and try
margin-left: auto;
margin-right: auto;
--
dorayme
[Back to original message]
|