View Single Post
Old 10-11-2020, 12:49 PM   #11
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,875
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
I've managed to cut down a significant portion of code and it does the very same thing. The idea is to keep it simple. The extra code is not simple.
Well, I'm afraid of your code doesn't work. You can't get a center heading with a background colored and ajusted to the heading with your code. In order that <h1> is centered, with a background ajusted to the text, is by means of the property "display: inline". And ¿how do you center that <h1> tag? Please, explain us how to center an inline block.

You wrote what you wrote because you didn't understand my code. Moreover, you didn't read what the OP asked.
RbnJrg is offline   Reply With Quote