diff mysite/templates/band/buy.html @ 12:d771b81e927e

Incorporate blueprints css into the site design.
author Brian Neal <bgneal@gmail.com>
date Tue, 11 May 2010 23:18:32 +0000
parents 0dcfcdf50c62
children
line wrap: on
line diff
--- a/mysite/templates/band/buy.html	Sun May 02 18:21:38 2010 +0000
+++ b/mysite/templates/band/buy.html	Tue May 11 23:18:32 2010 +0000
@@ -4,9 +4,9 @@
 <h1>Madeira Merchandise</h1>
 {% for album in albums %}
    <h2>{{ album.title }} </h2>
-   <div style="float: right;">
-   <img src="{{ album.photo.image.url }}" alt="{{ album.title }}" title="{{ album.title }}" />
-   </div>
+   <p>
+   <img class="right" src="{{ album.photo.image.url }}" alt="{{ album.title }}" title="{{ album.title }}" />
+   </p>
    {% if album.label_release_set %}
       <ul>
       {% for release in album.label_release_set.all %}
@@ -38,9 +38,9 @@
 {% endif %}
 {% for item in merchandise %}
    <h2>{{ item.name }}</h2>
-   <div style="float: right;">
-      <img src="{{ item.photo.image.url }}" alt="{{ item.name }}" title="{{ item.name }}" />
-   </div>
+   <p>
+      <img class="right" src="{{ item.photo.image.url }}" alt="{{ item.name }}" title="{{ item.name }}" />
+   </p>
    {{ item.desc|safe|linebreaks }}
    {% if item.in_stock %}
       <p>Price: ${{ item.price }}</p>