Solved

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

Posted on 2014-02-21
2
218 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
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Remove the padding on hover of sub menu 4 45
make top menus bigger font 3 35
Creating a slider 12 34
Printing a Google Form 2 8
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now