From konq-bugs Thu Sep 12 02:18:00 2002 From: owner () bugs ! kde ! org (Stephan Kulow) Date: Thu, 12 Sep 2002 02:18:00 +0000 To: konq-bugs Subject: Bug#19111: marked as done (
tag does not center within the browser window) by Maks Orlovich X-MARC-Message: https://marc.info/?l=konq-bugs&m=103179714432617 Your message with subj:
tag does not center within the browser window Thank you for your bug report. This bug can not be reproduced using the current development (CVS) version of KDE. This suggests that the bug has already been fixed. The bug report will be closed. has caused the attached bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I'm talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Stephan Kulow (administrator, KDE bugs database) (Complete bug history is available at http://bugs.kde.org/db/19/19111.html) Received: (at submit) by bugs.kde.org; 25 Jan 2001 22:34:20 +0000 Received: (qmail 16950 invoked by uid 33); 25 Jan 2001 22:34:20 -0000 Date: 25 Jan 2001 22:34:20 -0000 Message-ID: <20010125223420.16949.qmail@master.kde.org> To: submit@bugs.kde.org Subject:
tag does not center within the browser window From: fspam@home.com Package: khtml Version: 2.0.1 Severity: normal Installed from: RPMs for Red Hat 6.x i386 It appears that Konqueror (KHTML?) is not properly centering items within the browser window, when they are all enclosed in a set of
tags. I first noticed this problem when viewing the output of the phpinfo() function from PHP 3.0.16, but it crops up elsewhere as well. I'll use said output as an example here. The HTML defines a series of tables, one on top of another, all enclosed within
tags. IE and Netscape render these tables as I would expect them to, placing each table in the center of the browser window. Konqueror renders most of these tables far past the right edge of the browser window, requiring the user to fiddle with the scroll bar to bring them into view. Upon closer examination, I notice that Konqueror centers all the tables relative to each other, but not relative to the browser window. One of the tables in question can be extremely wide, and Konqueror seems to determine the "page width" according to the width of that table (the widest table). It then seems to center the remaining tables relative to that calculated "page width". Unfortunately, this means that the tables that aren't so wide are rendered off the right edge of the browser window. I can understand why this behavior might make sense logically, since the tables are being centered on a "virtual page". However, this is extremely annoying in practice. When trying to view these centered items, it only causes frustration to have them positioned beyond the border of the viewing surface. IE and Netscape both handle the situation nicely, by centering each table relative to the viewing area, and reqiring scroll bar manipulation only for the table that won't fit in the viewing area. Because the phpinfo() function doesn't always produce HTML that demonstrates this problem, I will include example HTML here:

PHP Version 3.0.18

by Rasmus Lerdorf, Andi Gutmans, Zeev Suraski, Stig Bakken, Shane Caraveo, Jim Winstead, and countless others.


System: Linux porky.devel.redhat.com 2.2.17-8smp #1 SMP Fri Nov 17 16:12:17 EST 2000 i686 unknown
Build Date: Jan 23 2001

Extensions

ExtensionsAdditional Information
PHP core CFLAGS=
HSREGEX=
SRK estoreSRK online shopping module (pid 3107)
Loaded (server local time) Thu Jan 25 14:01:07 2001
Compiled (compiler local time) Jan 19 2001 21:08:05 by "forest@bartok"
PostgreSQL
Allow persistent links:Yes
Persistent links:0/Unlimited
Total links:0/Unlimited
Compilation definitions:PGSQL_INCLUDE=
PGSQL_LFLAGS=
PGSQL_LIBS=
Basic FunctionsNo additional information.
PHP_DLDynamic Library support enabled.
PHP_dirNo additional information.
PHP_filestatNo additional information.
PHP_fileNo additional information.
PHP_headNo additional information.
SendmailPath to sendmail: /usr/lib/sendmail -t
DebuggerNo additional information.
SyslogNo additional information.
DataBase APIV1 ($Id: dba.c,v 1.23 2000/07/10 10:15:36 sas Exp $) gdbm db2
WDDXNo additional information.
WDDX_ANo additional information.
Socket functionsNo additional information.
Regular ExpressionsSystem regex library enabled
gdVersion 1.5 (GIF) or earlier, FreeType support
ApacheAPACHE_INCLUDE=
APACHE_TARGET=
Apache Version: Apache/1.3.14
Apache Release: 10314100
Apache API Version: 19990320
Hostname/port: bartok.wickednymph.org:80
User/Group: nobody(99)/99
Max Requests: per child: 100    keep alive: on    max per connection: 100
Timeouts: connection: 300    keep-alive: 15
Server Root: /etc/httpd
Loaded modules: mod_presintf, mod_php3, mod_setenvif, mod_so, mod_usertrack, mod_headers, mod_expires, mod_proxy, mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config, mod_env, mod_vhost_alias, http_core
CryptNo additional information.
DBMThis is GDBM version 1.8.0, as of May 19, 1999.
bcmathNo additional information.
browscapNo additional information.
PHP_packNo additional information.
zlibZlib support active (compiled with 1.1.3, linked with 1.1.3).
FTP FunctionsNo additional information.
XMLXML support active
System V semaphoresNo additional information.
System V Shared-MemoryNo additional information.
PCREPerl Compatible Regular Expressions
PCRE library version:2.05 21-Apr-1999
Posix$Revision: 1.19 $
LCGNo additional information.

Configuration

Configure command: ./configure '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-config-file-path=/etc/httpd' '--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-system-regex' '--disable-debug' '--with-zlib' '--with-gdbm' '--with-db2' '--enable-debugger' '--enable-magic-quotes' '--enable-track-vars' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--with-xml' '--with-ftp'
php3.ini file path is set to: /etc/httpd
DirectiveMaster ValueLocal Value
arg_separator & &
asp_tags00
auto_prepend_file none none
auto_append_file none none
browscap none none
cgi_ext none none
debugger.host none none
debugger.port00
define_syslog_variables00
display_errors11
doc_root none none
enable_dl11
engine11
error_log none none
error_append_string none none
error_prepend_string none none
error_reporting1515
extension_dir /usr/lib/php3/ /usr/lib/php3/
gpc_order GPC GPC
ignore_user_abort00
include_path none none
isapi_ext none none
last_modified00
log_errors00
max execution time3030
magic_quotes_gpc00
magic_quotes_runtime11
magic_quotes_sybase00
memory limit83886088388608
nsapi_ext none none
open_basedir none none
precision1414
safe_mode11
safe_mode_exec_dir /usr/bin /usr/bin
sendmail_from none none
sendmail_path /usr/lib/sendmail -t /usr/lib/sendmail -t
short_open_tag11
smtp localhost localhost
sql_safe_mode00
track_errors00
track_vars11
upload_max_filesize20971522097152
upload_tmp_dir none none
user_dir none none
warn_plus_overloading00
xbithack00
browscap none none
y2k_compliance00
highlight_comment #FF8000 #FF8000
highlight_default #0000BB #0000BB
highlight_html #000000 #000000
highlight_string #DD0000 #DD0000
highlight_bg #FFFFFF #FFFFFF
highlight_keyword #007700 #007700

Environment

VariableValue
LESSOPEN|/usr/bin/lesspipe.sh %s
USERNAMEroot
ENV/root/.bashrc
HISTSIZE1000
HOSTNAMEbartok
LOGNAMEroot
MAIL/var/spool/mail/root
TERMxterm
HOSTTYPEi386
PATH/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
KDEDIR/usr
HOME/root
INPUTRC/etc/inputrc
SHELL/bin/bash
USERroot
DISPLAY:0
LANGen_US
OSTYPELinux
SHLVL2
LS_COLORSno=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
_/bin/nice

PHP Variables

VariableValue
PHP_SELF/info.php3
HTTP_GET_VARS["srklogin"]3t
HTTP_GET_VARS["srksession"]3s
HTTP_COOKIE_VARS["srksession"]87fe1e54dfa897dc779525c3c3418f07&3s

Apache Environment

VariableValue
DOCUMENT_ROOT/home/httpd/html 
HTTP_ACCEPT_CHARSETiso8859-1;q=1.0, utf-8;q=0.8, *;q=0.9 
HTTP_ACCEPT_ENCODINGx-gzip; q=1.0, x-deflate, gzip; q=1.0, deflate, identity 
HTTP_ACCEPT_LANGUAGEen en_US en_US C 
HTTP_CONNECTIONKeep-Alive 
HTTP_COOKIEsrksession=87fe1e54dfa897dc779525c3c3418f07&3s 
HTTP_HOSTlocalhost 
HTTP_USER_AGENTMozilla/5.0 (compatible; Konqueror/2.0.1; X11); Supports MD5-Digest; Supports gzip encoding 
PATH/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin 
REMOTE_ADDR127.0.0.1 
REMOTE_PORT1412 
SCRIPT_FILENAME/home/httpd/html/info.php3 
SERVER_ADDR127.0.0.1 
SERVER_ADMINroot@localhost 
SERVER_NAMEbartok.wickednymph.org 
SERVER_PORT80 
SERVER_SIGNATURE
Apache/1.3.14 Server at bartok.wickednymph.org Port 80
 
SERVER_SOFTWAREApache/1.3.14 (Unix) (Red-Hat/Linux) PHP/3.0.18 
GATEWAY_INTERFACECGI/1.1 
SERVER_PROTOCOLHTTP/1.1 
REQUEST_METHODGET 
QUERY_STRINGsrklogin=3t&srksession=3s 
REQUEST_URI/info.php3 
SCRIPT_NAME/info.php3 

HTTP Headers Information

HTTP Request Headers
HTTP RequestGET /info.php3 HTTP/1.1 
Accept-Charsetiso8859-1;q=1.0, utf-8;q=0.8, *;q=0.9 
Accept-Encodingx-gzip; q=1.0, x-deflate, gzip; q=1.0, deflate, identity 
Accept-Languageen en_US en_US C 
ConnectionKeep-Alive 
Cookiesrksession=87fe1e54dfa897dc779525c3c3418f07&3s 
Hostlocalhost 
User-AgentMozilla/5.0 (compatible; Konqueror/2.0.1; X11); Supports MD5-Digest; Supports gzip encoding 
HTTP Response Headers
Set-Cookiesrklogin=8b0dd706084e88b05f2e8f1e51cdd1e7&3t; path=/ 
X-Powered-ByPHP/3.0.18 
Keep-Alivetimeout=15, max=100 
ConnectionKeep-Alive 
Transfer-Encodingchunked 
Content-Typetext/html 

PHP License

This program is free software; you can redistribute it and/or modify
it under the terms of:

A) the GNU General Public License as published by the Free Software
   Foundation; either version 2 of the License, or (at your option)
   any later version.

B) the PHP License as published by the PHP Development Team and
   included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of both licenses referred to here.
If you did not, or have any questions about PHP licensing, please
contact core@php.net.
(submitted via bugs.kde.org) _______________________________________________ Konq-bugs mailing list Konq-bugs@mail.kde.org http://mail.kde.org/mailman/listinfo/konq-bugs