[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2014-02-21
2
Medium Priority
?
236 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
Suggested Courses

649 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