Tim,

> 
> A different approach...
> 
> #mainGal { text-align: center; }
> 
> #box {
>       float: none;  /* remove the float we added before */
>       display: inline-block;
>       display: -moz-box; /* <== for firefox 2 */
> }
> 
> To make inline-block work in <IE8 you will need to use a conditional
> comment to set #mainGal to display: inline. As long as the element
> 'hasLayout' (which a div does by default) then it behaves like inline-
> block.
> 
> If you don't like that and the images are always the same size (either
> portrait or landscape) then give #box a class ('portrait' or
> 'landscape') and set the left margin appropriately on each.
> 


Thank you very much for this further suggestion.  I will try this and
hopefully it will be just what is needed for the client.

This group is the best!  I learn so much from others' questions and am happy
to always get good answers to my questions as well.

Regards,
Debbie

______________________________________________________________________
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/

Reply via email to