Quote:
Originally Posted by enuddleyarbl
I know you're talking about an image, but I've used:
Code:
text-align: center;
and it centers images fine. Does it do what you need in your case?
|
That works fine normally, but hasn't worked for me together with position: fixed.
Code:
div.fixed {
position: fixed;
bottom: 0;
text-align: center;
}
places things at the bottom but does not center. Text-align:center does work for both img and text, but it's the combination with fixed that's the issue.
EDIT: I can fake it with multiple fixed tags, the bottom line at 0, the next up at 1.2em, the next up at 2.4em, etc. I'm not sure if this is robust. Perhaps a table?
EDIT2: See my latest post. Not sure what I did wrong before.