alisonv
04-25-2005, 03:05 PM
Hello
i've got a site g2n.co.uk/shops/shops.shtml
i've tried to get the lover menu to the bottom of the
page with the .cgi script in the middle trying for over a week
could somebody shed some light please,the headerand top menu and
bottom menu are in a header2.shtml.
thanks in advance
Alisonv
You have content generated outside of the document: width=25></TD></TR></TBODY></TABLE>
</body>
</head>
Shops
[an error occurred while processing this directive]
[an error occurred while processing this directive]
[an error occurred while processing this directive]
<BR><table width=470 align=center cellpadding=3> <tr bgcolor="#eeeeee"><td width=225><b><a href="art.shtml" class="a1">Art
alisonv
04-26-2005, 05:00 AM
thanks Fang for reply
i'm trying to get the .cgi in the middle of the top & bottom menu
but every time i try it pushes the script below bottom menu?
thanks for help Alisonv
Does your template include the file in the correct place?
alisonv
04-26-2005, 05:39 AM
what i have is an header.pl with the script in with header and footer but no matter where i put the footer it still ends up above the script?
example:this is the header.pl i do appreciate your help its getting to me alisonv
sub header{
local ($title) = @_;
$header=<<"HEADER";
<HTML>
<HEAD>
<TITLE>$title - Guide 2 norfolk UK, Activities in Norfolk.</TITLE>
<META NAME="KEYWORDS" CONTENT="Norfolk GUIDE, Norfolk, GUIDE NORFOLK, PUBS, CLUBS, RESTAURANTS, CINEMA, CONCERTS, COUNCIL, COUNTY, UK, LEISURE, TRAVEL, CULTURE, TAXIS, BUSES, FRIENDS, TRAINS, COACHES,ESSENTIAL, ENTERTAINMENT, swimming, football, hockey, rugby, days out, Skiing , Snowboarding, Felixstowe Museum, Transport Museum, Snooker, Squash, Swimming , Scottish Dancing, Sports Centres, Table Tennis, Tennis, Tenpin Bowling, Trampolining, Tap Dancing, Triathlon maps, weather, activities, hotels, bed and breakfast, Ipswich Town Football Club, Public Houses, nightclubs, where to stay, where to eat, enjoy, Morris, Dance, Dancing, Cycling, cricket , golf, Portman Road, Christchurch Mansion, Sailing, shopping, MisSpelt Words, wether, Ipswhich, suffick, nightclbs, Ipswitch, retaurants, acomodation, htels, sufolk, sffolk, sprts, pictchure, entertanment, gide, pbs, cncerts, Ipswch, plice">
<META NAME="DESCRIPTION" CONTENT="The Essential Guide 2 Norfolk, Detailed Listings of Pubs, Clubs, Restaurants, Accommodation, Cinema, Sports CLubs, Activities and Associations">
<LINK href="../g2_norfolk.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2523" name=Generator></HEAD>
<BODY text=#333333 vLink=#4C4C4C aLink=#660000 link=#333333
leftMargin=0 background=../images/nightback.gif topMargin=0 marginwidth="0"
marginheight="0">
<TBODY>
<TR>
<TD vAlign=top width=769>
<TABLE cellSpacing=0 cellPadding=0 width=769 border=0>
<TBODY>
<TR>
<TD width=769><!-- g2n and both levels of navigation. --><!-- g2n home logo and banner -->
<TABLE height=10 cellSpacing=0 cellPadding=0 width=769 border=0>
<TBODY>
<TR height=10>
<TD width=569 bgColor=#ffffff height=10> <SPAN
class=text_version><A class=text_version
href="http://www.g2n.co.uk/sitemap">GUIDE INDEX</A></SPAN> </TD>
<TD width=20 bgColor=#ffffff height=10>
<IMG height=10 alt=""
src="../images/spacer.gif" width=20></TD>
<TD width=180 bgColor=#ffffff height=10>
<IMG height=10 alt=""
src="../images/spacer.gif" width=20></TD></TR>
<TR>
<TD colSpan=3>
<IMG height=1 alt=""
src="../images/top_horizontal_blk_line.gif"
width=769></TD></TR></TBODY></TABLE>
</TD>
</table>
</TD></TR>
<img border="0" src="../images/header_1.jpg" width="490" height="80"></TD>
<TR>
<TD width=769><!-- Begin horizontal navigation -->
</TR></TBODY></TABLE><!-- prepares a time-date string with the client's current date and time -->
<SCRIPT language=javascript>
<!--
var months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
var now = new Date();
var month = months[now.getMonth()];
var date = now.getDate();
var year = now.getYear();
var rawHours = now.getHours();
var rawMinutes = now.getMinutes();
var amOrPm = (rawHours <= 11) ? "am" : "pm";
var hours = (rawHours > 12) ? rawHours - 12 : rawHours;
var minutes = (rawMinutes < 10) ? "0" + rawMinutes : rawMinutes;
if (year < 100) {
year = year + 2000;
} else {
if (year < 2000) {
year = year + 1900;
}
}
var dateStamp = month + " " + date + ", " + year + " - " + hours + ":" + minutes + " " + amOrPm;
//-->
</SCRIPT>
<TABLE height=10 cellSpacing=0 cellPadding=0 width=769 border=0>
<TBODY>
<TR height=10>
<TD align=right bgColor=#868380 colSpan=3 height=25><A
href="http://www.g2n.co.uk/index.shtml"><IMG height=25 alt=Home src="/images/homebutton_off.gif"
width=50 border=0></A> <IMG height=25 alt=""
src="/images/button_divider.gif" width=10 border=0> <A
href="http://www.g2n.co.uk/tr_travel.shtml"><IMG height=25 alt=traffic-travel
src="/images/tr_travel_off.gif" width=80 border=0></A>
<IMG height=25 alt="" src="/images/button_divider.gif"
width=10 border=0> <A href="http://www.g2n.co.uk/forums/index.php"><IMG
height=25 alt=Forum src="/images/forum_off.gif"
width=45 border=0></A> <IMG height=25 alt=""
src="/images/button_divider.gif" width=10 border=0> <A
href="http://www.g2n.co.uk/about.shtml"><IMG height=25
alt="about" src="/images/about_off.gif"
width=60 border=0></A> <IMG height=25 alt=""
src="/images/button_divider.gif" width=10 border=0> <A
href="http://www.g2n.co.uk/contact.shtml"><IMG height=25
alt="Contact" src="/images/contact_off.gif"
width=82 border=0></a> </TD></A>
<TABLE cellSpacing=0 cellPadding=0 width=769 border=0>
<TBODY>
<TR>
<TD width=569>
<TABLE cellSpacing=0 cellPadding=0 width=569 border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD width=15>
<IMG height=33 alt=""
src="../images/spacer.gif" width=8></TD>
<TD width=554><SPAN class=welcome_text>Welcome to
guide2norwich source of information<BR>
<SCRIPT language=JavaScript>
<!--
document.write("<span class='date_text'>" + dateStamp + "</span>");
//-->
</SCRIPT>
</SPAN></TD></TR></TBODY></TABLE></TD>
<TD width=20>
<IMG height=10 alt=""
src="../images/spacer.gif" width=20></TD>
<TD width=180><a href="mailto:barry@g2n.co.uk">
<IMG height=33
alt="E-mail to advertise with g2n"
src="../images/email_icon2.gif" width=177
border=0></a></TD>
</TR>
<TR>
<TD colSpan=3>
<IMG height=1 alt=""
<TD colSpan=3><IMG height=1 alt=""
src="../images/top_horizontal_blk_line.gif"
width=769></TD></TR></TBODY></TABLE><!-- End horizontal navigation --></TD></TR>
<TR>
<TD width=180 cellspacing="0" cellpadding="0" border="0"><!-- Begin pageContent --><!-- module layout - begins -->
<body>
<TD> <!-- main content start //-->
<br>
<table width=440 align=center cellpadding=3>
HEADER
}
sub footer{
local ($updirectory,$updirectory2,$table) = @_;
$footer=<<"footer";
</table><div align="center"><b><a class=a1 href="javascript:history.go(-1)">Back to Previous Page</a></b> </div>
<BR>
<TR>
<TD vAlign=bottom width=180>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=769 bgColor=#868380 border=0>
<TBODY>
<TR>
<TD width=13><IMG height=24 alt="" src="../images/spacer.gif"
width=13></TD>
<TD width=287><SPAN class=footer_copyright>Copyright 2005
guide2norwich
</SPAN></TD>
<TD class=footer_links align=right width=444><SPAN
class=footer_links><A class=footer_links
href="http://www.g2n.co.uk/index.shtml">Home</A> <SPAN
| <A class=footer_links
t</A> | <A
class=footer_links><A class=footer_links
href="http://www.g2n.co.uk/forums/index.php">Forum</A> <SPAN
| <A class=footer_links
t</A> | <A
class=footer_links><A class=footer_links
href="http://www.g2n.co.uk/contact.shtml">Contact Us</A> <SPAN
| <A class=footer_links
t</A> | <A
class=footer_links href="http://www.g2n.co.uk/sitemap.shtml">Site
Map</A></SPAN></TD>
<TD align=right width=25><IMG height=24 alt=""
src="../images/spacer.gif"
width=25></TD></TR></TBODY></TABLE>
</head>
</body>
</html>
footer
}
1;
You have 2 closing </head> and </body> tags and content in the <head> and outside the document.
The basic structure of the template is wrong and needs to be re-written.
alisonv
04-26-2005, 05:53 AM
could you help please i can pay you i've tried and tried
thanks
Alisonv
See if you can work with this attachment.
Some of the table could still be broken; it depends on what is included.
You need to get up to speed on modern methods of layout, (x)html and css
Look through the relevant tutorials (http://www.w3schools.com/default.asp)
alisonv
04-26-2005, 06:49 AM
Fang
thanks for the att and link i will study these
and thanks for all your help
best regards
alisonv
alisonv
04-26-2005, 08:48 AM
hi i uploaded the attachment and still wont work
g2n.co.uk/shops/shops.shtml i'll have to study the links you sent me
thanks for you kind help
alisonv
The Shops include should be placed by the comment <!-- main content start //-->
It may be all going wrong in the subroutine that assembles the html page.