Changeset 1115

Show
Ignore:
Timestamp:
09/21/06 21:36:47 (2 years ago)
Author:
jm3
Message:

centered site

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • peasantonline/app/views/layouts/catalog.rhtml

    r1106 r1115  
    2121                <script defer type="text/javascript" src="/javascripts/pngfix.js"></script> 
    2222                <![endif]--> 
    23                  
    24  
    25                 <!-- FIXME: define the base href as constant at the environment level so it will update when we switch from test to prod --> 
    26                 <!--<base href="http://peasantonline.toolstomaketools.com/" />--> 
    27          
    28         <title> <%= @page_title %> </title> 
    29         </head> 
    30         <body> 
    31  
    32                 <div id="header"> 
    33                         <img src="/images/interface/header.jpg" width="750" height="103" usemap="#header_map" border="0" alt="Peasant Online" /> 
     23                         
    3424                        <map name="header_map" id="header_map"> 
    3525                                <area shape="rect" coords="391,75,453,97" href="<%= home_url() %>" alt="home" /> 
     
    3828                                <area shape="rect" coords="643,67,710,99" href="/contact/" alt="contact" /> 
    3929                        </map> 
     30                 
     31        <title> <%= @page_title %> </title> 
     32        </head> 
     33        <body> 
     34 
     35                <div id="header"> 
     36                        <img src="/images/interface/header.jpg"  
     37                                width="750" height="103" usemap="#header_map" border="0" alt="Peasant Online" /> 
    4038                </div>  
    41                 <!-- end header --> 
     39                  
     40                <div id="main_holder"> 
     41                        <%= render(:partial => "catalog/left_nav") %> 
    4242 
    43                   
    44         <div id="main_holder"> 
    45                 <%= render(:partial => "catalog/left_nav") %> 
    46  
    47                 <div id="content"> 
    48                 <% if flash[:notice] -%>  
    49                   <div id="notice"><%= flash[:notice] %></div>  
    50                 <% end -%> 
    51                  
    52                 <%= @content_for_layout %> 
    53                  
     43                        <div id="content"> 
     44                        <% if flash[:notice] -%>  
     45                                <div id="notice"><%= flash[:notice] %></div>  
     46                        <% end -%> 
     47                         
     48                        <%= @content_for_layout %> 
     49                         
     50                        </div> 
     51                        <!-- start footer --> 
     52                        <div id="footer"></div> 
    5453                </div> 
    55                 <!-- start footer --> 
    56                 <div id="footer"></div> 
    57         </div> 
    58  
    59  
    60         <!-- 
    61         <small>(<a href="/idx.html">system info</a>)</small> 
    62         <small>(<a target="_blank" href="http://validator.w3.org/check?uri=http%3A%2F%2Fpeasantonline.toolstomaketools.com%2F">valid xhtml</a>)</small> 
    63         <p/> 
    64         <small>$Id: home.rhtml 1027 2006-08-29 04:26:10Z james $</small> 
    65         --> 
    66                  
    67                  
    68  
    69  
    7054 
    7155                <script type="text/javascript"> 
  • peasantonline/public/stylesheets/catalog.css

    r1114 r1115  
    2626} 
    2727 
     28#header { 
     29        width: 750px; 
     30        margin-left: auto; 
     31        margin-right: auto; 
     32} 
     33 
    2834#main_holder { 
     35        margin-left: auto; 
     36        margin-right: auto; 
    2937        background-image: url("../images/mensStoreBack.jpg"); 
    3038        height: 100%; 
     
    3745        height: 100%; 
    3846        background-image: url("../images/dash.gif"); 
    39         /* background-color: #3f3f3f; */ 
    4047} 
    4148