im building a clone youtube site and the templates have smarty code every-time i try to add a style to it or even change the bg color of the template i get this error. could someone show me an example on what im supposed to do. and how it should look in the code.
here what i did
mohrt
can you should me an example with the top code
the was in a style tag on the php page.
Now the login page in login.php i tried to put html code above it like so:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Poetry Battles</title>
<script language="javaScript" src="main.php"></script>
<style type="text/css">
<!--
#header {
position:absolute;
left:87px;
top:0px;
width:800px;
height:20px;
z-index:1;
background-color: #0d0600;
}
#content {
position:absolute;
left:3px;
top:29px;
width:1000px;
height:1300px;
z-index:-1;
background-image: url(intro%20bg.png);
background-repeat: no-repeat;
}
#footer {
position:absolute;
left:9px;
top:1346px;
width:990px;
height:50px;
z-index:3;
then
>?php
info
?>
thats when i got the error and had to take the style out. thats what happens when i try to modify any of the templates with a style i want my site to be a browish color