?
Solved

Two divs - One wraps around image, the other starts float left under image

Posted on 2014-02-21
2
Medium Priority
?
229 Views
Last Modified: 2014-02-21
Hello!

I am making a template that can be used multiple times on as site.

There is a container div titled "StaffContainer".  Inside it is:

Div titled "StaffBioPhoto"  It consists of an image that is floated left, and has some text to the right of it.    That seems to work okay.

And after that a div titled "StaffBioParagraph".  It needs to start directly below the float left photo, flush left.

Right now we are using carriage returns to move the staffbioparagraph text below the image, and that is of course not ideal.  

Again, both of these divs are inside the StaffContainer div

So what would the css be to get the staffbioparagraph div to start  float (flush) left, below the float left photo.

Is it a clear????

Thanks!

Rowby
0
Comment
Question by:Rowby Goren
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 39877321
Add to the StaffBioParagraph div's css
clear:both;
0
 
LVL 9

Author Closing Comment

by:Rowby Goren
ID: 39877780
Thanks, Cathal!  

Works perfectly (of course)!

Rowby
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question