Always centering image in relation to text box?
-
Hi all. Our Finnish online film magazine at https://www.laajakuva.com/ is in need of a bit of an update. We’ve decided to change up the way we inform the readers of the cast and crew of a film in our critiques. This is what it currently looks like (poster and the info at the top): https://www.laajakuva.com/paulina-2015/
Now then, what we would like to do is make it so we combine the text with the cast and crew and the poster into one entity. Here’s a preliminary look at what I mean:
https://www.laajakuva.com/wp-content/uploads/2015/10/previ.jpgHowever, as you can notice, if we place the image at the first row of the text box and select it to align left, it isn’t vertically centered in accordance to the text box. Is it possible to somehow make it so that using some code we could always have the poster image in relation to the size of the text box? Eg. the info text would have the code tag <info> or something, then the poster would be labeled <poster> and the <poster> tag would resize and align the image in relation to the <info> tag size?
- The topic ‘Always centering image in relation to text box?’ is closed to new replies.