suzumushiyh
5
Q:

image position css

.image{
  position: absolute;
  right:300px;
}
3
h2.pos_left {
  position: relative;
  left: -20px;
}

h2.pos_right {
  position: relative;
  left: 20px;
}
6
#IMAGE_ID {
	position:absolute;
  
  	/*left: (how much pixles from the left you want)px*/
  	left:100px;
  
    /*top: (how much pixles from the top you want)px*/
  	top:100px;
}

#MY_OTHER_IMAGES_ID {
    /*right: (how much pixles from the right you want)px*/
  	right:100px;
  
    /*bottom: (how much pixles from the bottom you want)px*/
  	bottom:100px;
}
2
.class{ position: attribute ; }
4
<!DOCKTYPE html> <!-- Start of coding page -->
<html> <!-- Start of html coding -->
  <head> <!-- Start of head -->
    <title>TITLE<title> <!-- Title -->
    <script>
      //JavaScript
    </script>
    <style>
      /* CSS */
    </style>
  </head> <!-- End of head -->
  <body> <!-- Start of body -->
    <div id='mydiv' style = "position:relative; left:0px; top:100px;">
      Hello! 
      <!-- Use that style tag to positions things, have a play around with it! -->
    </div>
  </body> <!-- End of body -->
<html> <!-- End of html coding -->
<!-- Add this line of code next to your id: 

style = "position:relative; left:0px; top:100px;" 

too let you position divs where you want them, you can even position
them ontop of other divs! -->
1

New to Communities?

Join the community