Hello,
I have those divs with a width of 33% each. (yes, they are three) :)
All contents inside, like p, img, and perhaps other divs, should be place at
the center horizontally.
Here's what I have that works:
#bottom-left-column,
#bottom-middle-column,
#bottom-right-column {
float:left;
width:33%;
text-align:center; /*center contents on those boxes*/
/* border: 1px dashed magenta;*/
}
My question is:
It seems to me that, using text-align:center; should serve the propose of
centering text and NOT img and other nested divs, am I wrong ?
What would be the proper way, for doing this ?
I've tried:
margin-left: auto;
margin-right: auto;
Nothing happened.
k. regards,
mem
______________________________________________________________________
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/