Changeset 141 for trunk/grails-app


Ignore:
Timestamp:
Oct 2, 2009, 4:57:59 AM (14 years ago)
Author:
gav
Message:

How to make IE7 behave more like Firefox? Add Doctype strict to the layout!
This makes both browsers behave more predictably and makes pseudo :hover work in IE7.

File:
1 edited

Legend:

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

    r139 r141  
     1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    12<html>
    23    <head>
     
    2324                </div>
    2425               
    25                 <div class="appControl">
    26                     <g:isLoggedIn>
    27                         <span class="appControlButton">
    28                             <g:link controller="logout">
    29                                     Log out (<g:loggedInUsername/>)
    30                             </g:link>
    31                         </span>
     26                <g:isLoggedIn>
     27                    <div style="height: 2em;">
     28                        <g:link controller="logout" class="logoutButton">
     29                                Log out (<g:loggedInUsername/>)
     30                        </g:link>
    3231                        <div id="menu">
    3332                            <nav:render group="nav"/>
    34                         </div>                   
    35                     </g:isLoggedIn>
    36                 </div>
     33                        </div>   
     34                    </div>
     35                </g:isLoggedIn>   
    3736
    3837                <g:layoutBody />
Note: See TracChangeset for help on using the changeset viewer.