Skip to content

absolute positioning of images on a slide #151

Answered by andre-dietrich
abotzki asked this question in Q&A
Discussion options

You must be logged in to vote

You can also directly set these attributes within the inline-style attribute, but of course, you can also define classes. I think simply adding position: absolute to your HTML-comment will do the trick. However, I add some examples how to change image settings, that you can Try out here - LiveEditor

<!--
@style
.styled-image {
    width: 300px;
    position: absolute;
    bottom: 20%;
    left: 35%;
}
@end
-->

# Image Position

LiaScript tries to identify the optimal scaling for an image, which means:

* if it is too wide for the screen it is scaled down
* if its height is to big for the screen it is scaled down to 75% of the screen height
* if it is too small it is not scaled
* in this …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@abotzki
Comment options

@andre-dietrich
Comment options

@andre-dietrich
Comment options

@abotzki
Comment options

Answer selected by abotzki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants