How to make a image css not move at text?


Tags: html,css,image,position

Problem :

I have this demo: http://vestigedayz.com/sys/adminexec/Test/

I have put a image on it (right, that folder icon) but i don't want to make it move when I randomly type on the keyboard.

.image{
    padding-left:1100px;
    position:fixed;

    }


    <a href=""> 
<div class="image">
<img src="images/suspect.png" width="160" height="140" alt=""> 
</div>
</a>


Solution :

Change right and top to what you want.

position: absolute; right: 50px; top: 10px;

Lose the: padding-left:1100px; position:fixed;


    CSS Howto..

    How to get href Text using CSS selectors

    How to always refresh file loaded by ajax, avoiding cached file

    How to prioritize a CSS class?

    How to handle multiple-language site without database or backend code?

    How to overflow in CSS/HTML? [closed]

    How to scroll with large pages with jQuery onepage-scroll plugin?

    How to edit a div inside PHP using CSS

    How To Change Text Box Content On Hover

    How to enlarge a div without moving other elements

    how to get value from this html date-ranger?

    How do I implement a MailChimp API form embed?

    How to rotate image used as list type in unordered list

    How do I create a bar chart in CSS with an array of PHP float values?

    How to use GitHub's primer and octicons?

    How to get border width in jQuery/javascript

    Css - how to add an image outside a text box (on the left side but touching the box)

    How to target the first-child of an optgroup with css or jquery

    When using padding-top to retain aspect ratio for fluid layout, how do I vertically center text to background image?

    How to make CSS border on an image? [closed]

    How to position some text?

    How to scroll content automatically using CSS? [closed]

    how to display a dropdown ul two per row

    CSS How to force DIVs side by side with text overflow?

    How to add a color in the
    bottom content area?

    Overlay image to show like panorama [closed]

    How do I animate background image size on hover smoothly in css?

    CSS: How to flow text around both left and right images

    How is CSS applied by the browser, and are repaints affected by it?

    How should I crop the image at client side using jcrop and upload it?

    How to override CSS Box Sizing for just one area on page?