Page 1 of 1

Re: How to vertically center 'Last Post' text in prosilver based style?

Posted: Thu Feb 14, 2019 5:30 pm
by pit-PL

Re: How to vertically center 'Last Post' text in prosilver based style?

Posted: Thu Feb 14, 2019 8:12 pm
by paulie
I just simply added:

text-align: center;

To line 191 of content.css

Re: How to vertically center 'Last Post' text in prosilver based style?

Posted: Thu Feb 14, 2019 9:55 pm
by warmweer
paulie wrote:
Thu Feb 14, 2019 8:12 pm
I just simply added:

text-align: center;

To line 191 of content.css
I doubt this works: AFAIK text-align is for horizontal aligning see https://www.w3schools.com/cssref/pr_text_text-align.asp
vertical-align might do the trick see https://www.w3schools.com/cssref/pr_pos ... -align.asp

Re: How to vertically center 'Last Post' text in prosilver based style?

Posted: Thu Feb 14, 2019 10:31 pm
by paulie
warmweer wrote:
Thu Feb 14, 2019 9:55 pm
paulie wrote:
Thu Feb 14, 2019 8:12 pm
I just simply added:

text-align: center;

To line 191 of content.css
I doubt this works: AFAIK text-align is for horizontal aligning see https://www.w3schools.com/cssref/pr_text_text-align.asp
vertical-align might do the trick see https://www.w3schools.com/cssref/pr_pos ... -align.asp
It definitely works hence the reason I posted!

Assuming of course that the opening poster meant this:
lastpost.png

Re: How to vertically center 'Last Post' text in prosilver based style?

Posted: Fri Feb 15, 2019 12:04 am
by Lumpy Burgertushie
yes it works for horizontal centering. however the OP asked for vertical centering.


robert