Banner doesn't appear on the homepage
Hi there!
My banner doesn't appear on the front page of my site for some reason
The URL is:
Can you tell me how to fix this by looking at this code:???
CM Director
BODY, TD {
font-family : verdana ;
font-size : 12px;
color: black;
}
A {
text-decoration: none;
color: blue;
}
A:Hover {
text-decoration: underline;
color: blue;
}
<script language="javascript">
</script>
- Welcome to CM Director
Brian Farkas posted this at 23:56 — 16th November 2002.
They have: 1,015 posts
Joined: Apr 1999
Hi-
The server is looking for a file called "banner.gif", but that file does not appear to exist on the server. If you upload your banner.gif image file to the server, in BINARY mode, everything should work properly.
Timewell posted this at 00:28 — 17th November 2002.
They have: 344 posts
Joined: Jun 2002
Thanks! It works!
Now is there any way of getting like a right hand column in the grey section just to appear on the front page???
I know that the HTML for it will be:
Reviews - 1
Players - 86
Tactics - 8
Screenshots - 10
Menubars - 9
Guides - 1
but don't know where to place it...
no1golfpro.co.uk - High quality golf equipment at competitive prices.
Brian Farkas posted this at 03:29 — 17th November 2002.
They have: 1,015 posts
Joined: Apr 1999
Hi,
I'm not exactly sure what you're asking in the second message - could you please clarify?
Thanks,
Brian Farkas
Timewell posted this at 13:22 — 17th November 2002.
They have: 344 posts
Joined: Jun 2002
er...I would like a column kind of thing on the left hand side below my flash nav but don't know how to do it...
Brian Farkas posted this at 20:00 — 17th November 2002.
They have: 1,015 posts
Joined: Apr 1999
You could insert whatever else you wanted to continue the column at the spot indicated below:
INSERT ANY ADDITIONAL CODE HERE
This will act as a continuation of the white column below the flash nav.
Timewell posted this at 20:10 — 18th November 2002.
They have: 344 posts
Joined: Jun 2002
Well thank you for your help but unfortunately the problem is that it moves my news section under the nav. Perhaps column could go around the side somewhere???
Here is the URL of you cannot understand a word I am saying!
Test
no1golfpro.co.uk - High quality golf equipment at competitive prices.
Suzanne posted this at 23:08 — 18th November 2002.
She has: 5,507 posts
Joined: Feb 2000
You need to close the that the flash navigation is in. (after , put ) There are also a number of other errors. You need to turn on the borders to see that you have two cells (nav and scores), and then the news is in a new row. You'll need to remove most of those nested tables, really, make the code easier to understand.
Learning to use proper markup (Using , to , et cetera) outside of tables would really help you find the problems, as you can create discrete bundles of information, and a table to hold them and go from there.
Since you're just learning, I highly recommend you invest in htmlvalidator.com or barebones.com (BBEdit if you're on a Mac) and learn how to validate your code and check for errors. It's an invaluable troubleshooting tool, and it will also help you learn how to fix the code yourself.
A little more complex is the online validator at http://validator.w3.org but it's also an excellent tool once you get familiar with it.
Also, since you've started with CSS, try moving toward using more CSS -- drop the nested tables and the font tags, and streamline. It will be easier to understand, and it will display better.
Timewell posted this at 17:15 — 19th November 2002.
They have: 344 posts
Joined: Jun 2002
Thanks for that! Is it possible to move the stats type thing into the grey border? If so then it would be easier to do that really, as then the news column should move back up...
no1golfpro.co.uk - High quality golf equipment at competitive prices.
Suzanne posted this at 18:01 — 19th November 2002.
She has: 5,507 posts
Joined: Feb 2000
Anything is possible. Draw out your table, then work out the code. You can do it!
Timewell posted this at 19:05 — 19th November 2002.
They have: 344 posts
Joined: Jun 2002
When you say draw it...do you mean by hand??? If so I am in DEEP trouble! My drawing is hopeless and, luckily, only I can understand it!
Suzanne posted this at 19:54 — 19th November 2002.
She has: 5,507 posts
Joined: Feb 2000
lol, actually I did mean by hand. When I get stuck with tables, I literally draw it out. I start with just the regular squares -- however many rows by however many columns -- and then erase the lines I don't want. Then I can easily see where I need to use rowspan, or colspan to make the table work right and have all the pieces inside it.
You can add rows and columns easily, of course.
You don't have to be a good artist -- usually this is just a big messy pile of lines that I write all over, making notes to myself.
Timewell posted this at 20:23 — 19th November 2002.
They have: 344 posts
Joined: Jun 2002
Hi! I just wondered what you meant by turn on borders? Do you mean using code like:
<table width="115" border="0" cellspacing="0" cellpadding="0" height="19">
'Or is it something else?
no1golfpro.co.uk - High quality golf equipment at competitive prices.
Busy posted this at 21:31 — 19th November 2002.
He has: 6,151 posts
Joined: May 2001
to turn on borders, change border="0" to border="1"
Suzanne posted this at 21:31 — 19th November 2002.
She has: 5,507 posts
Joined: Feb 2000
Yes, using that code, but set border="1" or border="5" or whatever helps you see literally where the cells are.
Timewell posted this at 21:42 — 19th November 2002.
They have: 344 posts
Joined: Jun 2002
I have got a bit closer now...just needs that final bit of code to move it...see!?
Timewell posted this at 19:09 — 21st November 2002.
They have: 344 posts
Joined: Jun 2002
I have been given this code by someone but it doesn't work properly. Can you see why?
<html>
<head>
<title>CM Director</title>
<style TYPE="text/css">
BODY, TD {
font-family : verdana ;
font-size : 12px;
color: black;
}
A {
text-decoration: none;
color: blue;
}
A:Hover {
text-decoration: underline;
color: blue;
}
</style>
</head>
<body bgcolor="#eeeeee">
<div align="right">
<table width="90%" border="0" cellpadding="0" cellspacing="0" height="55" align="center">
<tr>
<td width="93%" height="70" bgcolor="#FFFFFF"> </td>
<td rowspan="3" width="7%">
<table width="115" border="1" cellspacing="0" cellpadding="0" height="19">
<tr>
<td valign="right" height="20">
<p align="left"><font face="Chicago" size="2">Reviews - 1</font>
</td>
</tr>
<tr>
<td valign="right" height="20"> <font face="Chicago" size="2">Players
- 86 </font> </td>
</tr>
<tr>
<td valign="right" height="20"> <font face="Chicago" size="2">Tactics
- 8</font> </td>
</tr>
<tr>
<td valign="right" height="20"> <font face="Chicago" size="2">Screenshots
- 10</font> </td>
</tr>
<tr>
<td valign="right" height="20"> <font face="Chicago" size="2">Menubars
- 9</font> </td>
</tr>
<tr>
<td valign="right" height="20"> <font face="Chicago" size="2">Guides
- 1</font> </td>
</tr>
<tr>
<td valign="right" height="20"> </td>
</tr>
<tr>
<td valign="right" width="113" height="19"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="93%" height="86" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td width="93%" bgcolor="#FFFFFF"> </td>
</tr>
</table>
</div>
<tr>
<td>
<table width="560" height="79" valign="top" align="center" cellspacing="0" cellpadding="0">
<tr width="560" height="79" valign="top" align="center">
<td width="560" height="79" valign="top" align="center">
<a href=""><img src="banner.gif" border="0"></a>
<td width="98" valign="top" height="235">
</td>
</td>
</tr>
</table>
<table width="560" valign="top" align="center" cellspacing="5" cellpadding="0">
<tr width="560" valign="top">
<td width="560" valign="top" bgcolor="#E6E6E6">
<script language="javascript">
<!--
Today = new Date();
TodayDay = Today.getDate();
TodayMon = Today.getMonth();
TodayYear = Today.getYear();
if (TodayYear < 2000) TodayYear += 1900;
if (TodayMon == 0) { TodayMonth = "January"; }
else if (TodayMon == 1) { TodayMonth = "February"; }
else if (TodayMon == 2) { TodayMonth = "March"; }
else if (TodayMon == 3) { TodayMonth = "April"; }
else if (TodayMon == 4) { TodayMonth = "May"; }
else if (TodayMon == 5) { TodayMonth = "June"; }
else if (TodayMon == 6) { TodayMonth = "July"; }
else if (TodayMon == 7) { TodayMonth = "August"; }
else if (TodayMon == 8) { TodayMonth = "September"; }
else if (TodayMon == 9) { TodayMonth = "October"; }
else if (TodayMon == 10) { TodayMonth = "November"; }
else if (TodayMon == 11) { TodayMonth = "December"; }
else { TodayMonth = TodayMon; }
document.write(TodayMonth + " " + TodayDay + ", " + TodayYear);
-->
</script>
- Welcome to CM Director
</td>
</tr>
</table>
<table width="560" valign="top" align="center" cellspacing="0" cellpadding="5">
<tr width="560" valign="top">
<td width="130" valign="top" align="center">
<!-- insert nav here -->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="129" height="169">
<PARAM name="movie" value="/includes/Soccer.swf">
<PARAM name="quality" value="high">
<PARAM name="menu" value="true">
<EMBED src="/includes/Soccer.swf" quality="high" menu="true" pluginspage="http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="129" height="169">
</EMBED>
</OBJECT>
</td>
<td width="400" valign="top">
<table border="0" width="400">
<tr>
<td width="400" bgcolor="#E6E6E6"><b>News Section<b></td>
</tr>
</table>
<table border="0" width="400">
<tr>
<td width="100%" background="cm4.jpg" style="background-repeat: no-repeat; background-attachment: fixed; background-position: 15px
50px;">
<a name="newsitemEpFZuAElVpupZRiOtK"></a><table border="0" cellspacing="0" cellpadding="0" width="100%"
bgcolor="#DDDDDD"><tr><td>
<table border="0" cellspacing="1" cellpadding="3" width="100%">
<tr bgcolor="#F9F9F9"><td><font size="0"><b>A warm welcome!</b><br>by <a href="mailto:[email protected]">RobT</a> on 17 Nov
'02 0:10 AM</font></td></tr>
<tr bgcolor="#EEEEEE"><td>Hi guys!<br><br>This is a warm welcome from all CM Director staff to our new site! Shuff has sadly left us
because he doesn't have time for the site anymore and would be welcome back any time! We do have a new addition though and that is the
wonderful, Stainy! He will be designing menubars and stuff like that for the site. <br><br>What do you reckon of our new design??? Many
thanks go to Chris from CM Star for designing this and kriko (porn lover!) for helping me set up this brilliant Coranto!<br><br>CM Director
hopes to bring you brilliant content and plenty of laughs. So please stick with us!</td></tr>
</table>
</td></tr></table><img src="/images/spacer.gif" height="5" width="1"><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="560" valign="top" align="center" cellspacing="0" cellpadding="0">
<tr width="560" valign="top" align="center">
<td width="560" valign="top" align="center">
<small><center><font color="green">Site © CM Director 2002 unless otherwise stated. Design by Chris Hughes.<br>
Site optimised for resolutions greater than 800x600 and best viewed in 1024x768. <br><br></font></center></small>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
no1golfpro.co.uk - High quality golf equipment at competitive prices.
Suzanne posted this at 20:31 — 21st November 2002.
She has: 5,507 posts
Joined: Feb 2000
define the problem please?
taff posted this at 20:41 — 21st November 2002.
They have: 956 posts
Joined: Jun 2001
Validate it - there is a slew of coding errors.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.