Google Community Chat
 
Coding problem

You're visiting Google Community as a guest.
In order to post, you'll need to register and log in.

(If you were registered and logged in, these advertisements wouldn't be here)
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum
   
Author Message
happypokerplayer
Noogle
Noogle


Joined: 08 May 2006
Location: London
204.00 GC$

Items

PostPosted: Mon May 08, 2006 12:31 am    Post subject: Coding problem Reply with quote
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><img src="Images/Correct Logo.jpg" alt="Welcome To Citrine Star" width="85" height="85" id="logo" /></h1>
 <div id="controls">
   <h3>&nbsp;</h3>
   <ul>
     <li><a href="#">Home</a></li>
   <li><a href="#">About Us</a></li>
        <li><a href="#">Services</a></li>
        <li><a href="#">Contact</a></li>
        <li><a href="#">Sitemap</a></li>
  <li><a href="#">Testimonials</a></li>
  <li><a href="#">Shop</a></li>
  <li><a href="#">Self-Analysis</a></li>
  <li><a href="#">Surveys</a></li>
  <li><a href="#">FAQs</a></li>
      </ul>
    </div>
  </div>
</div>
  <div id="content">
    <div class="homepage-box">
      <h1>Latest Ideas</h1>
      <h2><a href="#">ASP is from Mars - PHP is from Venus</a></h2>
      <p>Julie Connor</p>
      <p><img src="Images/Citrine Star Logo.jpg" alt="Company Logo" width="104" height="135" /> </p>
      <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><a href="#">Tighten the Net</a></h2>
       <p>Heading 2</p>
       <p><img src="Images/Image 2.jpg" alt="image 3" width="104" height="135" /></p>
       <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><a href="#">Designing with Style </a></h2>
                <p>Heading 3 </p>
        <p><img src="Images/Image 3.jpg" alt="Image 3" width="104" height="135" /></p>
        <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><a href="#">Serve Yourself </a></h2>
      
         <p>Heading 4 </p>
        <p><img src="Images/Image 4.jpg" alt="image 4" width="104" height="135"  /></p>
        <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="">
          <p><label><strong>Keywords</strong><br />
          <input name="keywords" type="text" id="keywords" />
          <input type="submit" name="Submit" value="Search" />
          </label>
          </p>
          </form>
      </div>
    </div>
  <h3>&nbsp;</h3>
</div>
</body>
</html>
 
Many thanks in advance
 
Cliff (complete novice!)

_________________
Cliff Hawkins
Back to top
View user's profile Send private message
zslotyi
Noogle
Noogle


Joined: 15 May 2006
Location: Hungary
741.90 GC$

Items

PostPosted: Mon May 15, 2006 11:21 pm    Post subject: Reply with quote
Hello Cliff,<br /><br />I think we should have a look at your .css file as well...<br /><br />- first remove the space from its name (body_text.css instead of Body text.css), to be sure that it is included at all<br /><br />- then go to class homepage-box (which should look like .homepage-box or so), and set a height and width parameter. If you set exact pixel sizes there won't be any problem with their size.<br /><br />hope that helps<br /><br />zsl
_________________
Click Fraud Blog
Back to top
View user's profile Send private message Visit poster's website
Sponsored Links
Posted: 4 Dec 2008 7:21 pm    Post subject: Advertisements
Back to top
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum All times are GMT - 8 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Host your free forums with Invision Plus.net forum web hosting with your own subdomain.

alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden

© 2005-2006 Google Community

Powered by phpBB

Privacy Policy | Contact Us

Powered by Google Search blog

This website is not affiliated in any way with Google, Inc.
Google™ is a registered trademark of Google, Inc.