On Thu, Dec 25, 2008 at 4:20 PM, <[email protected]> wrote:
>
> The page at http://www.maireadnesbitt.com/CSSexp.html has fixed-width columns
> at the left and right (not of the same width) and a column of variable width,
> depending on the screen size, in the middle - shown temporarily with a blue
> border. In that middle column, I have a pair of images with caption, that I
> would like to have centered. I cannot achieve that, try what I will. Making
> it worse, however, is no problem!
If what you want to do is center the two images together in the
double-bordered block, and if you know the combined width of the
images and are sure it won't change dramatically, you could wrap them
in a div with
{
width: 550px; /* or whatever is appropriate - ~550 does the job in ff3 */
margin: 0 auto;
}
If that's what you want, you should probably give the <p> tags
text-align: center
as well.
Best,
-JR
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/