newcoder1010 Posted July 5, 2015 Share Posted July 5, 2015 Hi, How to align the image to the right? I like to have texts wrapped on the left and image to be on the right top corner. I am not sure how to do it. Attached is the sample design: Can you please help? Thanks, N Link to comment Share on other sites More sharing options...
Ingolme Posted July 5, 2015 Share Posted July 5, 2015 You can use the CSS float property for that. At the top of the page they even have an example of how to do exactly what you're asking: http://www.w3schools.com/cssref/tryit.asp?filename=trycss_float Link to comment Share on other sites More sharing options...
dauruk0512 Posted July 6, 2015 Share Posted July 6, 2015 First what you have done, if you already have simple demo like you want please create at codepen.io so we can debug it together in this forum ! Link to comment Share on other sites More sharing options...
Ingolme Posted July 6, 2015 Share Posted July 6, 2015 Putting a demo on codepen is a bit overkill for a single line of code. 1 Link to comment Share on other sites More sharing options...
Ingolme Posted July 7, 2015 Share Posted July 7, 2015 If you put clear: right or clear: both on the div, it's going to nullify the float effect from the image. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now