summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-22 23:10:37 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-22 23:10:37 +0200
commit58b5848518a78f8304bb95001d1f49441a12e2e4 (patch)
tree7cf4a0ceb73f0590c3ed72536597f858b78157c8
parent83c50a29daded28be5091fae91ae64ec3eb536a5 (diff)
downloadwebsite-58b5848518a78f8304bb95001d1f49441a12e2e4.tar.gz
website-58b5848518a78f8304bb95001d1f49441a12e2e4.tar.bz2
website-58b5848518a78f8304bb95001d1f49441a12e2e4.tar.xz
website-58b5848518a78f8304bb95001d1f49441a12e2e4.zip
Prevented the website from outgrowing its intended scale
Screen resolutions have gone totally mad since this website was designed. Fortunately max-width is now standard CSS, so use it to limit the width to 1350 pixels.
-rw-r--r--includes/common.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/common.php b/includes/common.php
index 0d1d783..b0d67df 100644
--- a/includes/common.php
+++ b/includes/common.php
@@ -26,6 +26,7 @@ function placeHeader($page_title)
</style>
</head>
<body>
+ <div style="margin-left: auto; margin-right: auto; max-width: 1350px;">
<div id="page">
<div id="irc_info">
@@ -155,6 +156,7 @@ function placeFooter()
[<a href="http://validator.w3.org/check?uri=referer">xhtml</a>] [<a href="http://jigsaw.w3.org/css-validator/check/referer">css</a>]
</div>
</div> <!-- /page -->
+ </div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>