How to make the movement of a paragraph not influence other elements

Asked

Viewed 197 times

1

Every time I div her. content moves, the text adjusts itself to its size, but, makes the image/div inside also move, I want to keep the image fixed in the div without being influenced by the other elements.

follows code:

http://jsfiddle.net/turiba/tpz1gka3/8/

  • Do you mean the adjustment of the text in relation to the space of the div? If it is, just put the contentParagraph text inside a tag and set the maximum width

  • No, I mean the image adjustment, which is in the first div.content. It only appears if you pass the mouse. I wanted it to be fixed inside the div, if it suffers text interference.

  • Your HTML is poorly formed, there is something left and there is something missing. And if you fix your layout to work o_O . . . . Are you sure you need so much CSS? It disrupts the diagnosis.

  • Dude, I wiped down my css and made a few adjustments to html. In case you didn’t understand my problem, it’s in the class Ivs. content, wanted to make a paragraph overlay the image.

  • 1

    Perhaps it is the case to leave the image with the absolute position?

  • I have put in Bsolute but the image moves along div.

  • Why not put the text in a fixed size div and then a div with the image inside the div content http://jsfiddle.net/tpz1gka3/15/

Show 2 more comments

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.