homepage Welcome to WebmasterWorld Guest from 54.205.105.23
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Line break between divs
hkdigit



 
Msg#: 4247209 posted 10:55 pm on Dec 29, 2010 (gmt 0)

Hi,

I am trying to create new Zenphoto template for one of my photo album.

However, I find there is no line break between the following 2 div section:

<div id="popular">
<div id="commentcontent">

Any hints?

Regards,
Chris Lee

[edited by: alt131 at 1:16 am (utc) on May 17, 2011]
[edit reason] Thread Tidy [/edit]

 

Little_G

5+ Year Member



 
Msg#: 4247209 posted 11:03 am on Jan 3, 2011 (gmt 0)

Hi,

This is caused by the list elements in #popular being floated left, try adding the following rule:


#commentcontent{
clear:both;
}


Andrew

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved