mustish1
asked on
Error in CSS
Can you please tell me what this error means? Thanks.
<?php
$title = "Home";
$content = '<img src="Images/coffee1.png" class="imgLeft" />
<h3>Title 1</h3>
<p>
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
</p>
<img src="Images/coffee2.png" class="imgRight"/>
<h3>Title 2</h3>
<p>
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
</p>
<img src="Images/coffee3.png" class="imgLeft" />
<h3>Title 3</h3>
<p>
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
This Coffee web site is under construction. This Coffee web site is under construction.
</p>';
include 'Template.php';
?>
I guess NetBeans just does not expect an HTML text inside a variable. That makes it confused, so it throws that error.
<<Removing ASP.Net / C#>> tags
I use Apache Netbeans. I placed your code in a new file and do not get an error.
ASKER
Its not showing the page correctly. Also I cant find this line any where in the code.
<<Removing ASP.Net / C#>> tags
<<Removing ASP.Net / C#>> tags
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo $title; ?></title>
<link rel="stylesheet" type="text/css" href="Styles/Stylesheet.css" />
</head>
<body>
<div id="wrapper">
<div id="banner">
</div>
<nav id="navigation">
<ul id="nav">
<li><a href="index.php">Home</a></li>
<li><a href="#">Coffee</a></li>
<li><a href="#">Shop</a></li>
<li><a href="#">About</a></li>
</ul>
</nav>
<div id="content_area">
<?php echo $content; ?>
</div>
<div id="sidebar">
</div>
<footer>
<p>All rights reserved</p>
</footer>
</div>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I could not find any errors with that code. There is a chance that your editor's parser has issues with multi-line strings.
Ok. Well nowhere in that screenshot is a Styles folder or a stylesheet.css file, so either it's missing completely or its outside of your project
ASKER
Thank You.