PDA

View Full Version : Need help with header code!


drizze99
11-11-2005, 04:17 AM
OK, this is really driving me crazy and I'm a n00b so bare with me please. Here is a site that I'm building on my PC:

https://vborg.vbsupport.ru/external/2005/11/1.png

If you look at the pic, the images for the NavBar code are there, but not the selectable links. Everytime I put the code in for the links, my images go crazy. Here is an example of what I am trying to accomplish:

https://vborg.vbsupport.ru/external/2005/11/2.png

My header code now:

<!-- logo -->
<a name="top"></a>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="59%" align="left" valign="top" background="images/header_mid.gif"><img src="images/header_left.gif" width="339" height="67"></td>

<td width="41%" align="right" background="images/header_mid.gif"><img src="images/header_right.gif" width="411" height="67"></td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- /logo -->

<!-- navbar -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="59%" align="left" valign="top" background="images/bar_mid.gif"><img src="images/bar_left.gif" width="58" height="18"></td>

<td width="41%" align="right" background="images/bar_mid.gif"><img src="images/bar_right.gif" width="282" height="18"></td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<p>&nbsp;</p>
<!-- /navbar -->

Can someone please help me get the NavBar links in there?

Thanks in advance!!

Rich
11-11-2005, 11:20 PM
Hello,

I would have made this for you except I don't have the images. lol You have unclosed tags on your site. Your site took forever to load as well.

I took your header code and added this for you:

<a name="top"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="59%" align="left" valign="top" background="../images/header_mid.gif"><img src="../images/header_left.gif" width="339" height="67"></td>
<td width="41%" align="right" background="../images/header_mid.gif"><img src="../images/header_right.gif" width="411" height="67"></td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
</tr>
</table>
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<td class="vbmenu_control">Img Here</td>
<td class="vbmenu_control"><a href="index.php?">Home</a></td>
<td class="vbmenu_control"><a href="forum.php?">Forum</a></td>
<td class="vbmenu_control"><a href="http://www.srtsyndicate.com/register.php" rel="nofollow">Register</a></td>
<td class="vbmenu_control"><a href="http://www.srtsyndicate.com/search.php?do=getdaily" accesskey="2">Today's Posts</a></td>
<td class="vbmenu_control"><a href="donate.php?">Donate</a></td>
<td id="navbar_search" class="vbmenu_control"><a href="http://www.srtsyndicate.com/search.php" accesskey="4" rel="nofollow">Search</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
<td class="vbmenu_control"><a href="vbookie.php?">vBookie</a></td>
<td class="vbmenu_control"><a href="/chat/flashchat.php?">Chat</a></td>
<td class="vbmenu_control">Img here</td>
</tr>
</table>
<!-- /logo -->

I marked where the images need to go. You also need to change the class for the links so that it displays the image.

If you need more help, PM me.