From d159f2a1a8cf9efccb8f733d7e2452c5f7cfbf64 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 19 Feb 2005 06:01:15 +0000 Subject: [PATCH] * The previous
has been replaced by a named div in the stylesheet. This allows us to perform a vile, sleazy hack to keep IE6 from exhibiting its horizontal scrollbar bug. There will unfortunately always be a right margin in IE6, but there doesn't appear to be any easy workaround. --- webcit/ChangeLog | 8 ++++++++ webcit/auth.c | 4 ++-- webcit/calendar.c | 2 +- webcit/calendar_view.c | 6 +++--- webcit/event.c | 2 +- webcit/floors.c | 2 +- webcit/graphics.c | 2 +- webcit/iconbar.c | 2 +- webcit/inetconf.c | 2 +- webcit/mainmenu.c | 6 +++--- webcit/messages.c | 8 ++++---- webcit/paging.c | 2 +- webcit/roomops.c | 6 +++--- webcit/siteconfig.c | 2 +- webcit/static/head.html | 5 +++++ webcit/summary.c | 2 +- webcit/useredit.c | 2 +- webcit/userlist.c | 4 ++-- webcit/vcard_edit.c | 2 +- webcit/who.c | 2 +- 20 files changed, 42 insertions(+), 29 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 8ca6db249..eefe5237f 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,11 @@ $Log$ +Revision 602.6 2005/02/19 06:01:14 ajc +* The previous
has been replaced by a + named div in the stylesheet. This allows us to perform a vile, sleazy + hack to keep IE6 from exhibiting its horizontal scrollbar bug. There + will unfortunately always be a right margin in IE6, but there + doesn't appear to be any easy workaround. + Revision 602.5 2005/02/19 05:22:00 ajc * Replaced all the "centered 99% tables" with 100% width tables wrapped inside a div with margin-right:1px to remove the horizontal scrollbar @@ -2393,3 +2400,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/auth.c b/webcit/auth.c index 1f2a62d1b..42c3c0a26 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -249,7 +249,7 @@ void validate(void) return; } - wprintf("
" + wprintf("
" "
\n"); wprintf("
"); @@ -359,7 +359,7 @@ void display_changepw(void) strcpy(WC->ImportantMessage, ""); } - wprintf("
" + wprintf("
" "
\n"); wprintf("

"); diff --git a/webcit/calendar.c b/webcit/calendar.c index 5dfa23453..f7e48d8bf 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -529,7 +529,7 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum) { "\n
\n" ); - wprintf("
" + wprintf("
" "
"); wprintf("
\n"); diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 0428d382b..b18090900 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -155,7 +155,7 @@ void calendar_month_view(int year, int month, int day) { } /* Outer table (to get the background color) */ - wprintf("
" + wprintf("
" "
\n"); @@ -335,7 +335,7 @@ void calendar_day_view(int year, int month, int day) { /* Outer table (to get the background color) */ - wprintf("
" + wprintf("
" "
\n"); @@ -614,7 +614,7 @@ void do_tasks_view(void) { char buf[SIZ]; icalproperty *p; - wprintf("
" + wprintf("
" "\n\n" "\n" "\n" diff --git a/webcit/event.c b/webcit/event.c index 1de559ffb..eff197c51 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -92,7 +92,7 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum) "\n
\n" ); - wprintf("
" + wprintf("
" "
Name of taskDate due
\n"); /************************************************************ diff --git a/webcit/floors.c b/webcit/floors.c index e2dbcd131..a0b4edf10 100644 --- a/webcit/floors.c +++ b/webcit/floors.c @@ -68,7 +68,7 @@ void display_floorconfig(char *prepend_html) return; } - wprintf("
" + wprintf("
" "\n" "" "" diff --git a/webcit/graphics.c b/webcit/graphics.c index fdcf30ce8..396f21f7e 100644 --- a/webcit/graphics.c +++ b/webcit/graphics.c @@ -46,7 +46,7 @@ void display_graphics_upload(char *description, char *check_cmd, char *uplurl) "\n
\n" ); - wprintf("
" + wprintf("
" "
Floor numberFloor name
\n"); wprintf("
\n"); diff --git a/webcit/iconbar.c b/webcit/iconbar.c index c5601f257..4940f7710 100644 --- a/webcit/iconbar.c +++ b/webcit/iconbar.c @@ -367,7 +367,7 @@ void display_customize_iconbar(void) { "\n
\n" ); - wprintf("
" + wprintf("
" "
"); wprintf("\n"); diff --git a/webcit/inetconf.c b/webcit/inetconf.c index 091592f2f..cbdf32600 100644 --- a/webcit/inetconf.c +++ b/webcit/inetconf.c @@ -113,7 +113,7 @@ void display_inetconf(void) wprintf("
\n"); wprintf("
\n
\n"); - wprintf("
" + wprintf("
" "
\n"); for (which=0; which" + wprintf("
" "" "
\n"); @@ -203,7 +203,7 @@ void display_aide_menu(void) "\n
\n" ); - wprintf("
" + wprintf("
" "
"); svprintf("BOXTITLE", WCS_STRING, "Global Configuration"); @@ -271,7 +271,7 @@ void display_generic(void) "\n
\n" ); - wprintf("
" + wprintf("
" "
\n"); wprintf("
"); diff --git a/webcit/messages.c b/webcit/messages.c index 123c89460..8a12605f7 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -375,7 +375,7 @@ void read_message(long msgnum) { } /* begin everythingamundo table */ - wprintf("
\n"); + wprintf("
\n"); wprintf("
\n"); @@ -1146,7 +1146,7 @@ void readloop(char *oper) wprintf("\n"); if (is_summary) { - wprintf("
" + wprintf("
" "\n" "" @@ -1238,7 +1238,7 @@ void readloop(char *oper) if (num_displayed == 1) { if ((!is_tasks) && (!is_calendar) && (!is_addressbook) && (!is_notes) && (!is_singlecard)) { - wprintf("
" + wprintf("
" "
\n" "
" "Reading #%d of %d messages.", @@ -1717,7 +1717,7 @@ void confirm_move_msg(void) output_headers(1, 1, 1, 0, 0, 0, 0); - wprintf("
" + wprintf("
" "
"); wprintf("Confirm move of message\n"); diff --git a/webcit/paging.c b/webcit/paging.c index 2717d1747..c892b7a64 100644 --- a/webcit/paging.c +++ b/webcit/paging.c @@ -44,7 +44,7 @@ void display_page(void) "\n
\n" ); - wprintf("
" + wprintf("
" "
\n"); wprintf("Send an instant message to: "); diff --git a/webcit/roomops.c b/webcit/roomops.c index 62b0fbb12..079e3bc8f 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -827,7 +827,7 @@ void display_editroom(void) /* print the tabbed dialog */ wprintf("
" - "
" + "
" "" "" "\n"); @@ -932,7 +932,7 @@ void display_editroom(void) /* end tabbed dialog */ /* begin content of whatever tab is open now */ - wprintf("
" + wprintf("
" "
 
\n" "
\n"); @@ -1717,7 +1717,7 @@ void display_entroom(void) "\n
\n" ); - wprintf("
" + wprintf("
" "
\n"); wprintf("\n"); diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index 3174b9d93..0034b6481 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -51,7 +51,7 @@ void display_siteconfig(void) "\n
\n" ); - wprintf("
" + wprintf("
" "
"); whichmenu = bstr("whichmenu"); diff --git a/webcit/static/head.html b/webcit/static/head.html index 85a6cab0c..82f7aeed2 100644 --- a/webcit/static/head.html +++ b/webcit/static/head.html @@ -95,6 +95,11 @@ body { /* overflow-x: hidden; */ } +#fix_scrollbar_bug { + margin-right:1px; /* Gecko */ + width: expression('97%'); /* Only IE6 understands 'expression' and it also has the weird scrollbarbug */ +} + #button { width: 100%; padding: 0 0 1em 0; diff --git a/webcit/summary.c b/webcit/summary.c index 114902bab..c9073c7da 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -249,7 +249,7 @@ void summary(void) { * not people I consider worthwhile, I still want them to use WebCit. */ - wprintf("
" + wprintf("
" ""); /* diff --git a/webcit/useredit.c b/webcit/useredit.c index 5439ff0f9..60ee1881c 100644 --- a/webcit/useredit.c +++ b/webcit/useredit.c @@ -291,7 +291,7 @@ void display_edituser(char *supplied_username, int is_new) { wprintf("
\n"); wprintf("
\n
\n"); - wprintf("
" + wprintf("
" "
\n"); wprintf("\n" "" + wprintf("
" ""); wprintf("\n"); @@ -135,7 +135,7 @@ void showuser(void) "\n
\n" ); - wprintf("
" + wprintf("
" "
\n"); wprintf("
User NameNumberAccess LevelLast LoginTotal LoginsTotal Posts
\n"); serv_printf("OIMG _userpic_|%s", who); diff --git a/webcit/vcard_edit.c b/webcit/vcard_edit.c index f9eabc4a1..d9aca9dd2 100644 --- a/webcit/vcard_edit.c +++ b/webcit/vcard_edit.c @@ -187,7 +187,7 @@ void do_edit_vcard(long msgnum, char *partnum, char *return_to) { ); wprintf("\n"); - wprintf("
" + wprintf("
" "
\n"); wprintf("" diff --git a/webcit/who.c b/webcit/who.c index 512d68b55..d57b18504 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -61,7 +61,7 @@ void whobbs(void) wprintf("\n" "
\n"); - wprintf("
" + wprintf("
" "
" "\n"); wprintf("\n"); -- 2.30.2
Session ID