[css-d] Re: centering a div within a div -- SOLVED

2005-08-21 Thread Gregory Charles Rivers
(my previous post included Chinese characters which the list didn't like. my apologies.) 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.

[css-d] Re: centering a div within a div -- SOLVED

2005-08-21 Thread Gregory Charles Rivers
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;

[css-d] centering a div within a div

2005-08-21 Thread Gregory Charles Rivers
hello everyone. 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

[css-d] css + javascript to create/open links for specific classes/ids

2005-05-30 Thread Gregory Charles Rivers
hello people. I want to add a feature to my web pages. briefly, I want something like this: in the html code: tantalising in the css: span.lookup { something. not sure yet. } javascript either in the css or in the header. result: in the web page, the reader will see: tantalising [