[css-d] Photo caption idea for CSS

2005-06-01 Thread Linda Dunn
Hi all, I have a page posted here... http://www.seafoodlab.cmast.ncsu.edu/aboutus.html ...in which I am playing with the idea of making a div with class photobox for photos (the black and white one on the left) which will contain a photo caption. The css is as follows: .photobox {

Re: [css-d] Photo caption idea for CSS

2005-06-01 Thread Linda Dunn
David Laakso wrote: Or, could you give a unique id to each page on the body element, and change only the width of the selector, for the corresponding page/image? Hi David, I'm not sure what you mean here -- would it be possible for you to give me an example? And do you mean a styleblock

Re: [css-d] Photo caption idea for CSS

2005-06-01 Thread diego nunes
Reposting this message to list (I sent it in private, wrongly). You can give float: left; and some padding to div that contains the image, and put the p with the caption inside that div. This way, the caption will always use the same width as the image. Amplexos. -- ~~ ~ diego nunes

Re: [css-d] Photo caption idea for CSS

2005-06-01 Thread Peter Hyde-Smith
Linda Dunn wrote: Hi all, I have a page posted here... http://www.seafoodlab.cmast.ncsu.edu/aboutus.html ...in which I am playing with the idea of making a div with class photobox for photos (the black and white one on the left) which will contain a photo caption. This works great so far