1

I'm facing the problem in size of image.The related pic When i change the text content , the size of box which image is changed too!!. Here are my HTML code . I'd be grateful to give me help..

2
  • you missed putting your HTML Commented Jul 27, 2017 at 10:18
  • Try putting your html and css file for better solutions Commented Jul 27, 2017 at 10:21

3 Answers 3

1

you should use separate div for both content.

<div> <img> </div> <div> <p> </div> 
Sign up to request clarification or add additional context in comments.

Comments

1

You dont have a code below. By the way it always happened to me. One solution is knowing the size of the picture and managing the box accordingly. You can also manage to make a <p> or <div> to keep the text. It will have the same look as you want but your text wont be related with image so image size wont change. Most of html and css stuff is up to you. If you want, you can make perfect designs with only using divs.

Comments

1

You must have set the height attribute to auto. Just give that in px or in percentage.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.