PDA

View Full Version : can someone help me fix this?


thepub
04-18-2007, 08:36 PM
<a href="http://www.theneighborhoodpub.com" target="_blank">www.theneighborhoodpub.com</a>

I am trying to put a banner up and for some reason I don't know why it's not working. It stretches across the screen, I've changed it into two pieces instead of 3 and it's still doing it. I just want it to be the width of the fixed forum style.

VBDev
04-18-2007, 08:53 PM
Place your images as background of your cells instead of inserting an image in these cells !
It should work better

More of it, your table has no begining :/
You don't use the opening tag table !

Try it, it should be better

<table id="header" border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<TR>
<TD valign="top" align="left"background="theneighborhoodpub_fichiers/head_left.gif" width="425" height="120" border=0>&nbsp;</TD>
<TD valign="bottom" align="right" background="theneighborhoodpub_fichiers/head_right.gif">&nbsp;</TD>
</TR>
</TABLE>

And place this after this in your template !

<SCRIPT type=text/javascript>
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('Are you sure you want to log out?'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</SCRIPT>

thepub
04-18-2007, 09:10 PM
wait I'm lost. I'm supposed to put the first code where exactly? Then I put the second set of code you posted after? What about the code that is currently in there?

VBDev
04-18-2007, 09:16 PM
You replace your actual code with this new one ;)