Re: [Moo] Re: add before each hr element

2012-06-07 Thread Philip Thompson
Instead of hacking it, try a non-hackable, CSS (but sorta hackish =D) solution: http://www.quirksmode.org/css/clearing.html ~Philip On Thu, Jun 7, 2012 at 10:33 AM, Chad Meyers wrote: > I don't think thats quite right either. Thank for the help. In the end, > I just edited the source files o

Re: [Moo] Re: add before each hr element

2012-06-07 Thread Chad Meyers
I don't think thats quite right either. Thank for the help. In the end, I just edited the source files of CKEditor so when you insert an element, it will insert the div before. It's a bit of a hack but it works.

RE: [Moo] Re: add before each hr element

2012-06-07 Thread Steve Onnis
If your images are floated but your tags are not then you will always have trouble. You need to float your 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 Subjec

[Moo] Re: add before each hr element

2012-06-07 Thread Chad Meyers
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 inside the is floated left or right, and hangs below the So the sites against the not 2em below. the actual page in question is this one http://www.snairbrothersho

Re: [Moo] add before each hr element

2012-06-07 Thread Philip Thompson
On Thu, Jun 7, 2012 at 9:09 AM, Chad Meyers wrote: > I have the the folowing html > > > > > > > > > > and inside the 's there are floated images, and they are messing with > the margin set on the 's I can fix this by adding a simple class="clear"> before each

[Moo] add before each hr element

2012-06-07 Thread Chad Meyers
I have the the folowing html and inside the 's there are floated images, and they are messing with the margin set on the 's I can fix this by adding a simple before each . I can't seem to figure out how. I have tried element.inject,replace,grab but none