Error in front.func.inc.php
Posted: Thu 9. Dec 2004, 11:35
I have found a small bug in front.func.inc.php. It concerns the body tag. the code looks like this at the moment:
but must be look like this to have top- and leftmargin shown up in mozilla browsers:
am i right, or do i have understand something wrong?
cheers
rushclub
Code: Select all
if(!$values["layout_noborder"]) {
$body .= add_attribute($body, "topmargin", $values["layout_border_top"]);
$body .= add_attribute($body, "leftmargin", $values["layout_border_left"]);
$body .= add_attribute($body, "marginwidth", $values["layout_border_right"]);
$body .= add_attribute($body, "marginheight", $values["layout_border_bottom"]);Code: Select all
if(!$values["layout_noborder"]) {
$body .= add_attribute($body, "topmargin", $values["layout_border_top"]);
$body .= add_attribute($body, "leftmargin", $values["layout_border_left"]);
$body .= add_attribute($body, "marginwidth", $values["layout_border_left"]);
$body .= add_attribute($body, "marginheight", $values["layout_border_top"]);cheers
rushclub