Page 1 of 1

DOCTYPE description in 1.2.8 causing errors with table size

Posted: Fri 19. Jan 2007, 13:10
by noodles
just found out that the DOCTYPE code in 1.2.8 inc_lib/default.inc.php

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
is causing some problems when you want your table in the template to be 100% in height. if you replace the DOCTYPE description in the file inc_lib/default.inc.php with a simpler version, the tablesize is correctly displayed.

Posted: Fri 19. Jan 2007, 14:46
by flip-flop
Hi noodles,

why you do such a experiences?

Please have a look into the conf.inc.php (inderkonfigurationsdateiwoalleseingestelltwird)

Code: Select all

$phpwcms['mode_XHTML']        = 0; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional
$phpwcms['header_XML']        = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html
Regards Knut

Posted: Sun 21. Jan 2007, 13:40
by Oliver Georgi
when you want to set 100% of height for tables remember to set correct CSS information for html and body too - and always think about margin and padding. Values above 0px will fail. On FF you have to set min-height too.

Oliver