Blame | Letzte Änderung | Log anzeigen | RSS feed
<?php// $Header: /cvsroot/html2ps/css.display.inc.php,v 1.21 2006/09/07 18:38:13 Konstantin Exp $class CSSDisplay extends CSSPropertyHandler {function CSSDisplay() { $this->CSSPropertyHandler(false, false); }function get_parent() {if (isset($this->_stack[1])) {return $this->_stack[1][0];} else {return 'block';};}function default_value() { return "inline"; }function get_property_code() {return CSS_DISPLAY;}function get_property_name() {return 'display';}function parse($value) {return trim(strtolower($value));}}CSS::register_css_property(new CSSDisplay);function is_inline_element($display) {return$display == "inline" ||$display == "inline-table" ||$display == "compact" ||$display == "run-in" ||$display == "-button" ||$display == "-checkbox" ||$display == "-iframe" ||$display == "-image" ||$display == "inline-block" ||$display == "-radio" ||$display == "-select";}?>