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:
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:
1
I didn’t quite understand the purpose, but to do it without much whining, you could use the image as background.
Browser other questions tagged css html5 positioning
You are not signed in. Login or sign up in order to post.
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
– Papa Charlie
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.
– user8278
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.
– brasofilo
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.
– user8278
Perhaps it is the case to leave the image with the absolute position?
– Oralista de Sistemas
I have put in Bsolute but the image moves along div.
– user8278
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/
– Joao Paulo