If your images are floated but your <p> tags are not then you will always have 
trouble. You need to float your <p> tags also and everything else should come 
into line

 

From: Chad Meyers [mailto:starlingdesig...@gmail.com] 
Sent: Friday, 8 June 2012 12:44 AM
To: mootools-users@googlegroups.com
Subject: [Moo] Re: add <div> before each hr element

 

I was hoping to do it via css, but see no option.

 

css is

hr {

            margin: 2em 0px;

            clear: both;

}

 

The problem I have is that, the <img> inside the <p> is floated left or right, 
and hangs below the <p> So the <hr> sites against the <img> not 2em below.

the actual page in question is this one 
http://www.snairbrothershotrods.ca/currentProjects.php

 

This page content is generated by the client through a WYSIWYG editor 
(CKEditor) and inserting <div>'s is beyond their capability.

 

Reply via email to