Click here to Skip to main content
15,889,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm trying to do with the help of inline block property my image appearing on the right but but don't know why words present over image. i want in one whole block please refer image left side h1 and p tag and on right side image. i have explained my problem as much as i can. if it is possible then please go through my fiddle link. i have tried by this properties.so please check out my code link and image what to refer what i have tried it is given in the comment box. please help me thanks. :)

What I have tried:

please check link from comment box :)
Posted
Updated 10-Mar-17 4:04am
Comments
Member 13010669 10-Mar-17 6:27am    
my code link:- http://jsfiddle.net/df2wvcet/3/ and please refer layout link for reference what structure i'm expecting https://ibb.co/m4Ecfa

You have not given the CSS declaration for:
1. The respective widths of the bsec1 and bsec2 div's.
2. The width and height of bsec2 div else the background image has not meaning. Alternatively, you may want to insert image using img in the bsec2 with the appropriate width and height for the image.
 
Share this answer
 
Base on the current layout, you might have to add a width on both the div. Here is an example using divs and images + text

Image wrap around text[^]

example:
Wrap text around an image tutorial[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900