On Mon, Aug 22, 2005 at 12:00 AM (HK 12:00 AM), Gregory said:
>I am trying to create images with captions. I have code that works fine
>except that I can find no way to centre the div within my container div.
>any ideas?
>
>div.image_plus_caption {
> padding: 0;
> padding-bottom: .8em;
> border: 2px solid black;
> margin: 0;
> margin-bottom: 1em;
> background-color: #3f3f3f;
>}
thank you everybody for the super fast pointers. the answer was to
simply set margin-left and margin-right to Auto in the above rule.
it works great. thank you to everyone who offered advice.
kind regards,
Gregory
--------------------------------------------------------------------
Gregory's blog æ²³å榮ä¹ç¶²èª
Updated regularly so take a look.
http://www.hokwokwing.hk/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/