PDA

View Full Version : Header Image And Top Buttons


SoliduS_cF
05-03-2002, 08:46 PM
You all probally know how to do this but i am not very good with HTML, so a little assistance is required please :) (prays some one will help) I want to place my buttons underneath my header image, the image is centered: Here is my header template:

<!-- logo and buttons -->
<center>
<script src="fade_hack.js" language="Javascript"></script>
<table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="center" <a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle">
<td valign="bottom"
<!-- toplinks -->
<a href="usercp.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
<a href="register.php?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>
<a href="calendar.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a>
<a href="memberlist.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a>
<a href="misc.php?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
<a href="search.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a>
<a href="index.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a>
<!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a> -->
&nbsp;
<!-- /toplinks -->
</td>
</tr>
</table>
<!-- /logo and buttons -->

<!-- content table -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>
<!-- kaotixVIBEinc -->
<script>
<!--
function jumpPage(newLoc) {
newPage = newLoc.options[newLoc.selectedIndex].value
if (newPage != "") { window.location.href = newPage }
}
// -->
</script>
<!-- /kaotixVIBEinc -->

NTLDR
05-03-2002, 09:06 PM
I think you need to replace

<td valign="bottom"

With

<br>

And also add a > on the end off

<td valign="top" align="center" ;)

SoliduS_cF
05-03-2002, 09:14 PM
Worked like a charm my friend, thankyou very much.

scsa20
05-03-2002, 10:26 PM
I did mine a different way, I did the following (replaceing from <!-- logo and buttons --> down to <!-- toplinks -->)


<!-- logo and buttons -->
<center>
<table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="center"><a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td>
</tr>
<td width="20"><img width="10" height="3" border="0" src="{imagesfolder}/space.gif" alt=""></td>
<tr>
<td valign="bottom" align="center">
<!-- toplinks -->


as you can see I added in a spacer, that's how I did mine