Loop problems

General discussions about WebYep
Post Reply
rwfrenchjr
Posts: 1
Joined: Tue Aug 30, 2011 4:31 am

Loop problems

Post by rwfrenchjr » Tue Aug 30, 2011 4:37 am

I am having trouble making loop items behave. See this draft website for an illustration of the problem:

http://www.washtenawaudubon.org/betasite/index7.php

Because of the brevity of the text in the first title-image-longtext set the next loop starts too early, i.e., to the right of the image rather than being below the image and justified to the left.

Appreciate any help; I've searched the forums quite a bit.

Thanks.

marcus
Objective Development
Objective Development
Posts: 170
Joined: Tue Nov 30, 2010 1:25 pm

Re: Loop problems

Post by marcus » Tue Aug 30, 2011 12:45 pm

The loop items have got nothing to do with this. Your CSS is wrong for what you try to accomplish. When you float an image like on your test site, everything afterwards will try to flow around it on the right side.

Also setting "float:left" AND "clear:left" on the image is pointless. Remove the "clear:left" on the image and add it to ".style29" to force each paragraph on a new line.

Post Reply