Hi All,
in a cell with an text-object the css-format
text-align:center; works
but
Is there any way to bring the text vertical in the middle?
thx for hints
br harry
Request clarification before answering.
I am not a CSS expert, but after Googling and then trying it out on my system, here is what I have working:
background:indigo;
vertical-align: middle;
text-align: center;
#text{ line-height: 30px; vertical-align:middle; }
width: 50px;
height: 34px;
text-align: center;
line-height: 30px;
vertical-align: middle;
<style type="text/css">
#myoutercontainer2 { line-height:4em }
</style>
...
<p id="myoutercontainer2">
Hey, this is vertically centered. Yay!
</p>
I cannot tell you which part of the CSS makes this work, but it is working on my test system.
Regards,
Tammy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.