javascript - How can I position text at a certain height according to another text aside -


i'm new js, , don't know whether try doable. guys told me "try javascript", , google can't me because it's specific.

ok so, firstly have huge text in center of page. far good. call "main text"

then, on side of main text, there has column containing more text blocs. time, these blocs have align height of specific words found in main text.

you understand better picture : enter image description here

any idea how ? !

use css , html, there no need javascript. in css can use top:; vertically align element, e.g.

.text {     top: 40%; } 

this align element class "text" 40% of pages height top. use % units make text align correctly no matter size window is.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -