PDA

View Full Version : Dreamweaver element layout problems - code included


C1iff
05-08-2006, 10:19 AM
I have been following a tutorial in a book and have now become stuck. I have checked the code but can't find anything wrong. Please help. The 5 elements betwteen lines 41-81 should give me 4 equal sized main body elements and the search should be on the right. I have copied all the code but could not use the suggested images as the link in the book did not work so I made some images up. Not sure if that is imortant but thought I should mention it. Please be gentle with me as this is my first attempt at building a website!
The code isa as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
@import url("Body text.css");
-->
</style>
<link href="CSS/colors4.css" rel="stylesheet" type="text/css" />
<link href="inc/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {font-size: 150%}
-->
</style>
</head>
<body>
<div id="header">
<div id="header-top">
<span class="tagline style1">Welcome To Citrine Star</span>
<h1>Images/Correct Logo.jpg</h1>
<div id="controls">
<h3></h3>
<ul>
Home (#)
About Us (#)
Services (#)
Contact (#)
Sitemap (#)
Testimonials (#)
Shop (#)
Self-Analysis (#)
Surveys (#)
FAQs (#)
[/list]
</div>
</div>
</div>
<div id="content">
<div class="homepage-box">
<h1>Latest Ideas</h1>
<h2>ASP is from Mars - PHP is from Venus (#)</h2>


Julie Connor</p>


Images/Citrine Star Logo.jpg </p>


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like.</p>
</div>
</div>
<div class="homepage-box">
<h2>Tighten the Net (#)</h2>


Heading 2</p>


Images/Image 2.jpg</p>


It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). </p>
</div>
</div>
<div class="homepage-box">
<h2>Designing with Style (#)</h2>


Heading 3 </p>


Images/Image 3.jpg</p>


It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). </p>
</div>
</div>
<div class="homepage-box">
<h2>Serve Yourself (#)</h2>



Heading 4 </p>


Images/Image 4.jpg</p>


It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
</div>
</div>
</div>
<div id="nav">
<div class="homepage-box">
<h3>Search This Site</h3>
<form id="form1" method="post" action="">


<label>Keywords

<input name="keywords" type="text" id="keywords" />
<input type="submit" name="Submit" value="Search" />
</label>
</p>
</form>
</div>
</div>
<h3></h3>
</div>
</body>
</html>

Many thanks in advance

domedia
05-08-2006, 01:50 PM
@import url("Body text.css");
You cannot have a space in the filename like that.

chriskq
05-08-2006, 01:53 PM
you can put all ur styles into the one css.
that way the broswer only has to load one.