cvs: phpweb / mailing-lists.php my.php sitewide.css
| From: | Gabor Hojtsy | Date: | Sat, 09 Aug 2003 16:25:32 +0000 |
| Subject: | cvs: phpweb / mailing-lists.php my.php sitewide.css | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20082@lists.php.net to get a copy of this message | ||
goba Sat Aug 9 12:25:32 2003 EDT
Modified files:
/phpweb sitewide.css my.php mailing-lists.php
Log:
Add center class and use it for centering content where needed
Index: phpweb/sitewide.css
diff -u phpweb/sitewide.css:1.9 phpweb/sitewide.css:1.10
--- phpweb/sitewide.css:1.9 Sat Aug 9 10:25:31 2003
+++ phpweb/sitewide.css Sat Aug 9 12:25:32 2003
@@ -68,6 +68,18 @@
height: 1px;
}
+.center {
+ text-align: center;
+}
+.center table {
+ margin-left: auto;
+ margin-right: auto;
+ text-align: left;
+}
+.center th {
+ text-align: center;
+}
+
/* Content are styles ----------------------------------------------------- */
#content {
padding: 10px;
Index: phpweb/my.php
diff -u phpweb/my.php:1.19 phpweb/my.php:1.20
--- phpweb/my.php:1.19 Sat Aug 9 12:18:00 2003
+++ phpweb/my.php Sat Aug 9 12:25:32 2003
@@ -1,5 +1,5 @@
<?php
-// $Id: my.php,v 1.19 2003/08/09 16:18:00 goba Exp $
+// $Id: my.php,v 1.20 2003/08/09 16:25:32 goba Exp $
$_SERVER['BASE_PAGE'] = 'my.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
@@ -180,9 +180,9 @@
/> PHP Documentation search
</div>
-<div align="center">
-<input type="submit" value="Set All Preferences">
-</div>
+<p class="center">
+ <input type="submit" value="Set All Preferences">
+</p>
</form>
<?php commonFooter(); ?>
Index: phpweb/mailing-lists.php
diff -u phpweb/mailing-lists.php:1.43 phpweb/mailing-lists.php:1.44
--- phpweb/mailing-lists.php:1.43 Sat Aug 9 10:48:43 2003
+++ phpweb/mailing-lists.php Sat Aug 9 12:25:32 2003
@@ -1,5 +1,5 @@
<?php
-// $Id: mailing-lists.php,v 1.43 2003/08/09 14:48:43 goba Exp $
+// $Id: mailing-lists.php,v 1.44 2003/08/09 16:25:32 goba Exp $
$_SERVER['BASE_PAGE'] = 'mailing-lists.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/email-validation.inc';
@@ -307,7 +307,7 @@
<?php output_lists_table($internals_mailing_lists); ?>
-<p align="center">
+<p class="center">
<strong>Email:</strong>
<input type="text" name="email" size="40"
value="user@example.com" />
<input type="submit" name="action" value="Subscribe" />