Ahh that was it Josh. Thanks for the help. I can't believe i've literally spent hours trying to figure this out.. I'm going to look into the plugin as well.
On May 4, 6:23 pm, Josh Clayton <[email protected]> wrote: > Looks like invalid HTML to me; you're missing a closing div tag for > div.prepend-1.span-15 (should be inserted right before your > div.span-4.last). > > Please let me know if that doesn't work, but if it does, good luck! > > You might want to investigate my Rails plugin Blueprint Layout (http:// > github.com/joshuaclayton/blueprint-layout), which makes available some > column helpers. > > On May 4, 7:38 pm, wrage22 <[email protected]> wrote: > > > Hello, I am just starting out on blueprint and using with rails 2.3. > > for some reason the last column in my code is not spaced over as the > > last column but is being placed to the right directly under the first > > two spans. Any idea as to what I am doing wrong? Thanks in advance. > > > [code] > > > <div class="container showgrid"> > > > <h1>Listing products</h1> > > > <% for product in @products %> > > <div class="span-24"> > > <div class="span-4"> > > <%= image_tag product.image_url, :class => 'list-image' %> > > </div> > > > <div class="span-15 prepend-1"> > > <p> <h3><%=h product.title %></h3></p> > > <p> <%=h truncate(product.description.gsub(/<.*?>/, > > ''), > > :length => 80) %></p> > > > <div class="span-4 last "> > > <%= link_to 'Show', product %> > > <%= link_to 'Edit', > > edit_product_path(product) %> > > <%= link_to 'Destroy', product, > > :confirm => 'Are > > you sure?', > > :method => :delete > > %> > > </div> > > </div> > > <% end %> > > > <hr /> > > > <div class="span-24"> > > <%= link_to 'New product', new_product_path > > %> > > </div> > > </div> > > > [/code] > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Blueprint CSS" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/blueprintcss?hl=en -~----------~----~----~----~------~----~------~--~---
