1 contributor
<!DOCTYPE html>
<html>
<head><title>Page not found</title></head>
%= stylesheet begin
a img { border: 0 }
body { background-color: #caecf6 }
#noraptor {
left: 0%;
position: fixed;
top: 60%;
}
#notfound {
background: url(<%= url_for '/mojo/notfound.png' %>);
height: 62px;
left: 50%;
margin-left: -153px;
margin-top: -31px;
position:absolute;
top: 50%;
width: 306px;
}
% end
<body>
%= link_to url_for->base => begin
%= image '/mojo/noraptor.png', alt => 'Bye!', id => 'noraptor'
% end
<div id="notfound"></div>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->