aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 22:17:03 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 22:17:03 +0000
commit1c1956e48cc29e358563e24dc73a18bf84e50889 (patch)
treeefd5dd65f1a4f2493021dd9b9e2d80ff46cabd5b
parent8423cda014c6aee9fb3a3f7ebe78bc0465e7355f (diff)
downloadelgg-1c1956e48cc29e358563e24dc73a18bf84e50889.tar.gz
elgg-1c1956e48cc29e358563e24dc73a18bf84e50889.tar.bz2
css now provides center for text and centered for divs
git-svn-id: http://code.elgg.org/elgg/trunk@7905 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/css/elements/base.php5
-rw-r--r--views/default/layout/shells/one_column_with_sidebar.php2
2 files changed, 5 insertions, 2 deletions
diff --git a/views/default/css/elements/base.php b/views/default/css/elements/base.php
index af050deac..5ba21909a 100644
--- a/views/default/css/elements/base.php
+++ b/views/default/css/elements/base.php
@@ -20,9 +20,12 @@
.hidden {
display:none;
}
-.center {
+.centered {
margin:0 auto;
}
+.center {
+ text-align: center;
+}
<?php //@todo move to core.php ?>
/**
diff --git a/views/default/layout/shells/one_column_with_sidebar.php b/views/default/layout/shells/one_column_with_sidebar.php
index 0705e9766..cbf542174 100644
--- a/views/default/layout/shells/one_column_with_sidebar.php
+++ b/views/default/layout/shells/one_column_with_sidebar.php
@@ -10,7 +10,7 @@
*/
?>
-<div class="elgg-layout-sidebar center clearfix" style="width: 990px;">
+<div class="elgg-layout-sidebar centered clearfix" style="width: 990px;">
<div class="elgg-sidebar elgg-aside">
<?php
echo elgg_view('layout/elements/sidebar', $vars);