user2766784
user2766784

Reputation: 1

What is a simple way I can position images in html5

Hey I have been trying to use the

style="position:absolute;TOP;55px right;170px"

format to position images but it does not seem to be working.

This is my code

<img style="position:absolute;TOP;55px right;170px" src="Apron On.JPG" height="250">

I was wondering if anyone who could tell me a simple way to position it on the screen. It is preferred no css but if there is I think I could handle it.

Upvotes: 0

Views: 38

Answers (2)

ZooL
ZooL

Reputation: 194

look at your syntax

==>

style="position:absolute;top:55px;right:170px;"

Some visual explanation here

==>

http://css-tricks.com/wp-content/csstricks-uploads/absolute-inside-relative2.png

Upvotes: 0

Dylan Holmes
Dylan Holmes

Reputation: 782

CSS syntax reference
CSS usage reference

style="position:absolute;top:55px;right:170px"

Upvotes: 2

Related Questions