View Full Version : Re code is very wide

06-06-2010, 03:38 AM
I use the word wrap option on the code devloper I use, sharepoint 2007 but I have viewed the source code and it is very very wide. So I dont know what to do. Is it OK like this?
www tenembee .org.uk

06-06-2010, 03:50 AM
Hello quartzy,
It will work fine like that but I don't like it because it's hard to read.
Your editor must have a setting for that? Not familiar with SharePoint.

Here is is source formatted by DW:
<!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" xml:lang="en" lang="en">
<meta http-equiv="Content-Language" content="en-gb" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Homepage for Ten Em Bee sports development centre" />
<meta name="keywords" content="Homepage for Ten Em Bee sports Development Centre" />
<title>Ten Em Bee Sports Development Centre</title>
<link rel="stylesheet" type="text/css" href="css-files/layout.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css-files/style.css" media="screen"/>
<link rel="shortcut icon" href="images/favicon.ico"/>
<script type="text/javascript" src="
js-files/external.js"></script><script src="js-files/textresize.js" type="text/javascript"></script><script type="text/javascript" src="js-files/tp.js"></script><!--[if lte IE 7]><style type="text/css">
li a {display: inline-block;}</style><![endif]--><!--[if IE]><style type="text/css">body {word-wrap: break-word;}</style><![endif]-->
<div id="wrapper">
<div id="header">
<h1><a href="index.html" title="Header">TEN EM BEE Home page<em title="TEN EM BEE Home page"></em></a></h1>
<p class="logtitle">"When learning through sports anything is possible."</p>
<p class="sitemap" title="top links"><a href="policies.html">Accessibility</a> | <a href="sitemap.html">Site Map</a> | Text Resize<span class="normal"><a href="javascript:void(0);" onclick="javascript:body.style.fontSize='.88em'">A</a></span> <span class="medium"><a href="javascript:void(0);" onclick="javascript:body.style.fontSize='1em'">A</a></span> <span class="big"><a href="javascript:void(0);" onclick="javascript:body.style.fontSize='1.25em'">A</a></span></p>
<a name="top"></a>
<div id="search"><script type="text/javascript" src="js-files/search/js"></script>
<form action="http://www.google.com/search" method="get" onsubmit="Gsitesearch(this)">
<input name="q" type="hidden" />
<input class="qfront" name="qfront" type="text" alt="text input"/>
<input class="submit" type="submit" value="Search" />
<div id="nav">
<div id="tabs">
<li><a href="students.html"><span>Student Area</span></a></li>
<li><a href="useful-links.html"><span>Links</span></a></li>
<li><a href="contact-details.html"><span>Contact Us</span></a></li>
<li><a href="about-ten-em-bee.html"><span>About Us</span></a></li>
<li><a href="policies.html"><span>Policies</span></a></li>
<li><a href="sports-development.html"><span>Sports Development</span></a></li>
<li><a href="scholarships.html"><span>Scholarships</span></a></li>
<li><a href="news-and-events.html"><span>News and Events</span></a></li>
<li class="current"><a href="index.html"><span>Home</span></a></li>
<div class="bar">
<h2 class="digitalclock"><span>Home - Welcome</span> <script src="js-files/date.js" type="text/javascript"></script></h2>
<p>Scripts disabled - Date and Time clock</p>
<div id="leftcontent">
<h3 class="sports3">Mission Statement</h3>
<div class="dark">
<p><img style="vertical-align: top;" alt="first quote image" height="12" longdesc="start quote image" src="images/first-quote.gif" width="13" /> Ten-Em-Bee Sports Development Centre provides sporting opportunities for people, in an atmosphere where 'playing the game' will be a rewarding experience that will remain for life. The centre is a place of education where learning, training, personal development and loyalty are valued <img style="vertical-align: top;" alt="end quote image" height="12" longdesc="end quote image" src="images/end-quote.gif" width="13" /></p>
<div id="slidedom"><script type="text/javascript" src="js-files/slider.js"></script>
<span>Image rotator</span>
<br />
<div id="quote2">
<blockquote><img alt="quote text" src="images/quote.gif" width="190" height="100" />
<p class="right">Daniel Gayle<br />
London Football Association</p>
<img alt="sports-silhouettes" src="images/sports-shapes3.gif" with="190" height="25"/></blockquote>
<div id="centercontent">
<p class="pictitle"><img alt="tennis player silhouettes" class="border" height="145" longdesc="tennis player silhouettes" src="images/tennis.jpg" width="500" /><br />
Tennis Players<br />
<span class="credit"><a href="http://www.sxc.hu/profile/Mzacha">Silhouettes - &quot;Michal Zacharzewski, SXC&quot;</a></span> </p>
<h2 class="heading">Welcome - Ten Em Bee Sports Development Centre</h2>
<p>Ten-Em-Bee boasts some of the best sporting facilities in England.<br />
<p>At Ten Em Bee, we combine excellent teaching, and superb support to give students the very best all-round sports education.<br />
<p>The centre offers facilities for tennis, netball, cricket, football and a 7 a side 3G floodlit training area; all with access to the newly refurbished sports pavilion.</p>
<p>For those without <a href="http://www.direct.gov.uk/en/EducationAndLearning/QualificationsExplained/index.htm" rel="external"
title="link to government website explaining qualifications">qualifications</a> we offer <a href="http://www.educationuk.org/pls/hot_bc/page_pls_user_article?d=scholarship" rel="external" title="link to education uk">scholarship</a> through our education and&nbsp; sport development program in collaboration with 6th form schools and colleges, to provide a route onto further courses, jobs or voluntary work.</p>
<p>We have been delivering and developing diversionary programs across the <a href="https://www.lewisham.gov.uk">B</a><a href="https://www.lewisham.gov.uk" rel="external" title="link to lewisham council website">orough of Lewisham</a> since 1998 and we have a track record of providing a quality sports service, to local people who have been excluded from mainstream sports, <a href="http://en.wikipedia.org/wiki/Education" rel="external" title="link to wikipedia on education">education</a> and <a href="http://www.lewisham.gov.uk/LeisureAndCulture/" rel="external" title="link to lewishamcouncil leisure">leisure opportunities.</a></p>
<p class="right"><br />
<a href="#top">Back to Top</a></p>
<div id="rightcontent">
<p class="borders4"><script type="text/javascript">addthis_pub = 'quartzy';</script><a href="http://www.addthis.com/bookmark.php" onclick="return addthis_sendto()" onmouseout="addthis_close()" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')"><img alt="social bookmark widget" height="16" src="http://s9.addthis.com/button1-addthis.gif" width="125" /></a><script src="http://s7.addthis.com/js/152/addthis_widget.js" type="text/javascript">

<h3 class="sports6">Ten Em Bee is committed to providing:</h3>
<p class="borders2">Quality teaching in sports training and development. Sport scholarship programs.<br />
Social and Welfare guidance for students and members.</p>
<ul id="menu">
<li><a href="about-ten-em-bee.html#values"> Values of Ten Em Bee</a></li>
<li><a href="sports-development.html#aims"> Aims of Ten Em Bee</a></li>
<li><a href="sports-development.html#partnerships"> <span class="small">Community Partnerships</span></a></li>
<li><a href="students.html#requirements"> Student Requirements</a></li>
<li><a href="enrolment-form.doc"> Enrolment Form</a></li>
<li><a href="about-ten-em-bee.html#trustees"> Trustees</a></li>
<li><a href="contact-details.html#location"> Our Location</a></li>
<li><a href="policies.html"> Best Practices</a></li>
<li><a target="_top" href="http://www.anvilbook.com/guestbook.php?quartzy"> Guestbook</a></li>
<div class="clear"></div>
<div id="footer">
<p>Last updated June 5th 2010 - &copy; <script src="js-files/datefunction.js" type="text/javascript"></script>Ten Em Bee Sports Development Centre</p>
<div class="end">
<ul class="main">
<li><a href="about-ten-em-bee.html">About</a></li>
<li><a href="contact-details.html">Contact Details</a></li>
<li><a href="index.html">Home Page</a></li>
<li><a href="news-and-events.html">News and Events</a></li>
<li><a href="policies.html">Policies</a></li>
<li><a href="scholarships.html">Scholarships</a></li>
<li><a href="sports-development.html">Sports Development</a></li>
<li><a href="students.html">Students</a></li>
<li><a href="useful-links.html">Links</a></li>
<li><a href="sitemap.html">Sitemap</a></li>
<li class="last"><a target="_top" href="http://www.anvilbook.com/guestbook.php?quartzy">Guestbook</a></li>
120A Old Bromley Road, Downham, Bromley, BR1 4JY. Tel: 020 8313 9510 <br />
<span class="button">Web Design by <script type="text/javascript" src="js-files/mailcode.js"></script><img alt="css level 2 icon" height="16" src="images/csslevel2B.gif" width="88" style="vertical-align:bottom;" /><img alt="XHTML button" height="16" src="images/xhtml1_0.gif" width="88" style="vertical-align:bottom;"/></span><br />
<br />

06-06-2010, 02:13 PM
Thanks, as long as it works OK I could leave it, I do use the word wrap and I thought that is what I needed to use, but aparently not. What is the significance of the DW code? I need the code reduced to save load times, and the DW code is not. Maybe that is the problem.