aboutsummaryrefslogtreecommitdiffstats
path: root/railties/html/404.html
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2006-10-15 23:32:30 +0000
committerMichael Koziarski <michael@koziarski.com>2006-10-15 23:32:30 +0000
commitfa5080ae248b0043216a506ae491f52b24af27d7 (patch)
treefe996d8e0ec10c560192fcfbcb0951b84931b4d2 /railties/html/404.html
parentcdb5132c411db0a330e85ec9d2eb7fe543af7aff (diff)
downloadrails-fa5080ae248b0043216a506ae491f52b24af27d7.tar.gz
rails-fa5080ae248b0043216a506ae491f52b24af27d7.tar.bz2
rails-fa5080ae248b0043216a506ae491f52b24af27d7.zip
Tidy up the markup on the bundled error pages. Closes #6379. [Tim Lucas]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/html/404.html')
-rw-r--r--railties/html/404.html43
1 files changed, 13 insertions, 30 deletions
diff --git a/railties/html/404.html b/railties/html/404.html
index 78295d4258..eff660b90c 100644
--- a/railties/html/404.html
+++ b/railties/html/404.html
@@ -7,41 +7,24 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>The page you were looking for doesn't exist (404)</title>
<style type="text/css">
- div.dialog {
- margin: 0;
- padding: 10px;
- text-align: left;
- border: 1px solid #ccc;
- border-right: 1px solid #999;
- border-bottom: 1px solid #999;
- background-color: #fff;
- }
-
- div.outer {
- position: absolute;
- left: 50%;
- top: 50%;
- width: 500px;
- height: 300px;
- margin-left: -260px;
- margin-top: -150px;
- }
-
- body { background-color: #fff; }
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
+ div.dialog {
+ width: 25em;
+ padding: 0 4em;
+ margin: 4em auto 0 auto;
+ border: 1px solid #ccc;
+ border-right-color: #999;
+ border-bottom-color: #999;
+ }
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
</head>
<body>
-
-<div class="outer">
<!-- This file lives in public/404.html -->
-
- <div class="dialog" style="text-align: center;">
- <div style="text-align: center; width: 200px; margin: 0 auto;">
- <p style="color: red; font-size: 16px; line-height: 20px;">The page you were looking for doesn't exist.</p>
- <p style="color: #666;">You may have mistyped the address or the page may have moved.</p>
+ <div class="dialog">
+ <h1>The page you were looking for doesn't exist.</h1>
+ <p>You may have mistyped the address or the page may have moved.</p>
</div>
-</div>
-
</body>
</html> \ No newline at end of file