Changeset 48 for trunk


Ignore:
Timestamp:
Feb 2, 2009, 9:06:43 PM (16 years ago)
Author:
gav
Message:

Hopefully a CSS fix for IE

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/grails-app/views/layouts/main.gsp

    r44 r48  
    2626            <g:render template="/adminmenubar" />
    2727        </div>
    28         <g:layoutBody />
     28        <!-- Body wrapper div for IE -->
     29        <div style="text-align: center; width: 980px">
     30            <g:layoutBody />
     31        </div>
    2932    </div>
    3033    <div id="bottom">
  • trunk/src/grails-app/views/person/admin.gsp

    r40 r48  
    11<html>
    2 <head>
    3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    4 <meta name="layout" content="main" />
    5 <title>Admin</title>
    6 </head>
     2    <head>
     3        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
     4        <meta name="layout" content="main" />
     5        <title>Admin</title>
     6    </head>
    77    <body>
    88        <div class="nav">
    9             <span class="menuButton">
    10                 <a class="home" href="${createLinkTo(dir:'')}">Home</a>
    11             </span>
     9            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
     10            <span class="menuButton"><g:link class="create" action="create">New Person</g:link></span>
    1211        </div>
    1312        <div class="body">
    14             <h1 style="margin-left:20px;">Welcome to Admin</h1>
    15             <p style="margin-left:20px;width:80%">
    16             Home
    17             </p>
    18             <div class="dialog" style="margin-left:20px;width:60%;">
     13            <h1>Welcome to Admin</h1>
     14            <br/>
     15            <div class="dialog">
    1916                <ul>
    2017                <g:each var="c" in="${grailsApplication.controllerClasses}">
  • trunk/src/grails-app/views/person/list.gsp

    r40 r48  
    1 
    2 
    31<html>
    42    <head>
  • trunk/src/web-app/css/public.css

    r46 r48  
    1414
    1515body {
     16    text-align: center;
     17    width: 980px
    1618    background: #fff;
    1719    color: #333;
     
    102104
    103105.nav {
     106    text-align: centre;
    104107    background: url("../images/linkPanel_long.png") top no-repeat;
    105108    /*border: 1px solid #ccc;
    106109    border-style: solid none solid none;*/
    107     padding: 15px 20px 15px 20px;
    108     width: 650px;
     110    padding: 15px 0px 0px 0px;
     111    width: 980px;
    109112    height: 40px;
    110113}
Note: See TracChangeset for help on using the changeset viewer.