From 3c9d82a70413ec51c70359bd22f76d5fb6739fdf Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 25 Sep 2007 07:53:31 +0000 Subject: [PATCH] IE compatibility --- web/brisk.phh | 4 ++-- web/index.php | 23 +++++++++++++--------- web/room.css | 54 ++++++++++++++++++++++++++++++++++++--------------- 3 files changed, 54 insertions(+), 27 deletions(-) diff --git a/web/brisk.phh b/web/brisk.phh index 53512be..60eed4c 100644 --- a/web/brisk.phh +++ b/web/brisk.phh @@ -44,9 +44,9 @@ define(BRISK_DEBUG, FALSE); $G_false = FALSE; $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); -$G_brisk_version = "0.7.3"; +$G_brisk_version = "0.8.0"; -$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), NOVITA\': ottimizzazione della CPU e chiuso il bug di mancato cambio pagina.', +$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), NOVITA\': nuovo layout che permette più tavoli, più tavoli.', 'Se vuoi iscriverti alla Mailing List, cliccala!' ); $table_wellarr = Array ( 'Benvenuto al tavolo. Se almeno tre giocatori non sbloccano l\'uscita cliccando il lucchetto, chi esce non può risedersi a un qualunque tavolo per '.floor(BAN_TIME/60).' minuti.'); diff --git a/web/index.php b/web/index.php index 7f50046..1379c1b 100644 --- a/web/index.php +++ b/web/index.php @@ -209,7 +209,9 @@ google_color_url = "000000"; - +'; + +$brisk_vertical_menu = '
@@ -255,11 +257,13 @@ supported by:

} \n"); + printf($brisk_vertical_menu, '', ''); + printf(""); ?> -

@@ -269,8 +273,7 @@ Digita il tuo nickname per accedere ai tavoli della briscola.

-
-
+



@@ -344,21 +347,23 @@ else {




', + printf($brisk_header_form); + printf("
\n"); + printf($brisk_vertical_menu, '




', $brisk_donate); + printf("
"); ?> -
sess"; ?>">
-
+
-
+
Chat
diff --git a/web/room.css b/web/room.css index 20848d1..679c7f1 100644 --- a/web/room.css +++ b/web/room.css @@ -41,8 +41,7 @@ div.header { } div.topmenu { - /* border: 1px solid red; */ - float:left; + /* border: 1px solid red; */ width:90px; margin:0; text-align: center; @@ -70,9 +69,9 @@ div.tables { div.bottom { /* border: 1px solid green; */ position: relative; - top: -24px; + top: -13px; text-align: left; - padding:4px; + padding:2px; clear:left; } @@ -84,15 +83,35 @@ div.room_tit { padding: 6px; } +table.floaty { + width: 100%; + /* border: 1px solid red; */ + border-collapse: collapse; + border-spacing: 0px; + padding: 0px; +} + +table.floaty td { + /* border: 1px solid orange; */ + align: center; + text-align: center; + vertical-align: top; +} + +table.floaty td.floatyleft { + width: 100px; +} + table.macro { /* border: 1px solid orange; */ + border-spacing: 0px; align: center; width: 100%; padding: 0px; } table.macro td { - /* border: 1px solid green; */ + /* border: 1px solid green; */ align: center; text-align: center; } @@ -110,7 +129,7 @@ div.room_tab { table.room_tab { width: 100%; - border: 0px solid red; + /* border: 0px solid red; */ border-collapse: separate; border-spacing: 4px; border-style: none; @@ -142,20 +161,22 @@ div.table_act { div.room_standup { position: absolute; + vertical-align: "top"; + /* align: left; */ top: 26px; width: 100%; height: 80px; - align: left; overflow: auto; padding: 0px; margin: 0px; - vertical-align: "top"; } table.room_standup { - margin-left: 4px; + /* margin-left: 4px; */ width: 100%; - border: 1px solid grey; + border: 1px solid gray; + border-spacing: 0px; + padding: 0px; } table.room_standup td { @@ -170,12 +191,11 @@ div.room_ex_standup { align: left; text-align: left; padding: 0px; - margin: 0px; + } table.table_standup { /* background-color: red; */ - /* background-color: green; */ border-spacing: 0px; width: 100%; @@ -184,6 +204,9 @@ table.table_standup { } table.table_standup td { + /* background-color: green; */ + /* border: 1px solid red; */ + width: 25%; text-align: center; align: center; padding: 0px; @@ -200,8 +223,8 @@ div.esco { .chatt { height: 100px; overflow: auto; - border: 1px solid grey; - padding: 2px; + border: 1px solid gray; + padding: 2px; vertical-align: text-bottom; } @@ -218,8 +241,7 @@ div.esco { } .proxhr { - /* background-color: green; */ - position: absolute; + /*background-color: green; */ align: center; text-align: center; width: 100%; -- 2.17.1