Hello.
I am new with css and i would apriciate help.
how can i make body of page to be placed like this(yellow representing where body of page shoud be) and white representing some website background. so body have one background(where yellow colour is) and website another background(where white colour is)
Omg i feel so stupid now hahah
i fixed it thanks
if anyone is intersted here is the fixed code
Thanks again
public function getBlock( $tag )
{
preg_match ('#<!-- START '. $tag . ' -->(.+?)<!-- END '. $tag . ' -->#si', $this->content, $tor);
$tor = str_replace ('<!-- START '. $tag . ' -->', "", $tor[0]);
$tor = str_replace ('<!-- END ' . $tag . ' -->', "", $tor);
return $tor;
}
Please Help, im tired and cant seem to find the parse error, to me it seems fine but it is showing me it like on pic i attached
public function getBlock( $tag ){
//echo $tag;
preg_match (‚#<!-- START ‚. $tag . ‚ -->(.+?)<!-- END ‚.
$tag . ‚ -->#si', $this->content, $tor);
$tor = str_replace (‚<!-- START ‚. $tag . ‚ -->', „", $tor[0]);
$tor = str_replace (‚<!-- END ‚ . $tag . ‚ -->', „", $tor);
return $tor;
}
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.