UBB.Dev
Posted By: steelhead Pulling my hair out - 02/26/2004 6:48 AM
I added this code to my header:

<table border="3" cellpadding="0" cellspacing="0" width="0" bgcolor="#dedfdf" style="border: 5px outset #dedfdf; ; border-collapse:collapse" align="left" bordercolor="#ffffff">

<td width="100%" align="center" style="position: relative; float: left; border: 5px ridge #dedfdf; margin-left: 2; margin-top: 0; margin-bottom: 0; padding: 2"><font size="2"><font color="#000000">To post in our forums, or to see the members only forum, you need to </font>
<a href="http://www.qualityfishing.net/forum/newuser.php?Cat=">register</a><font color="#000000">,</font> <font size="2" color="#000000"><i> it's free and only
takes a minute.</i></font><align="left"></td>

The new box shows up and works fine, but it pushs the threads tool bar off to the right of this new box. I beleave my code problem lies in the first part but I cant figure it out.
Posted By: JoshPet Re: Pulling my hair out - 02/26/2004 7:13 AM
Well you open the table - and never close it. Your code ends with a </td>


Try adding

</tr></table>

Otherwise the threads bar is just another cell in the table you are opening.
Posted By: steelhead Re: Pulling my hair out - 02/27/2004 7:44 AM
I wish it was that easy.

When I add both </tr></table> behind the first part, it brings the tool bar back in line. The words are there for my new box, but the box itself doesnt show.

When I add just </table> behind the first part, it brings the tool bar back in line. The words are there for my new box, but the box itself doesnt show.

When I add just </tr> behind the first part it the new box and words are there but the tool bar is way out on the side of the new box.

When I add any of this </tr></table> behind the second part of the code it makes no changes.
Posted By: JoshPet Re: Pulling my hair out - 02/27/2004 11:45 AM
Actually the HTML is a mess... go through it carefully - at the beginning you have a <table> open - followed by a <td>

It should be in this format:

<table>
<tr>
<td>
Stuff goes here
</td>
</tr>
</table>


So try adding the opening <tr> and then the closing </tr> and </table>

That looks lik all you are missing.
Posted By: steelhead Re: Pulling my hair out - 02/28/2004 9:43 AM
You quote
"Actually the HTML is a mess". Well it takes a mess to make a mess. ; )Still learning. lol

Dont ask me why, but this is the only way I could get it to work right..

<table>
<tr>
<td><table border="2" cellpadding="0" cellspacing="0" width="0" bgcolor="#dedfdf" style="border: 5px outset #dedfdf; ; border-collapse:collapse" bordercolor="#ffffff">

<td width="100%" align="center" style="position: relative; float: left; border: 5px ridge #dedfdf; margin-left: 2; margin-top: 0; margin-bottom: 0; padding: 2"><font size="2"><font color="#000000">To post in our forums, or to see the members only forum, you need to </font><a href="http://www.qualityfishing.net/forum/newuser.php?Cat=">register</a><font color="#000000">,</font><font size="2" color="#000000"><i> it's free and only
takes a minute.</i></font></td>

But it works so Im happy. Thanks Josh.
Posted By: AllenAyres Re: Pulling my hair out - 03/01/2004 5:54 PM
???

Josh is right, that html is a mess

Try viewing it in mozilla and a couple other browsers that aren't as forgiving as IE.

As well, you didn't let us see what the rest of the html was like... you could be closing both tables in your footer or something

One question, why would you specify a border, then collapse it? Doesn't that make it invisible? I'm not familiar with the collapse variable.
Posted By: AllenAyres Re: Pulling my hair out - 03/01/2004 6:00 PM
And.... if you're having html problems, it's always good to start here:

http://validator.w3.org/check?uri=http://www.qualityfishing.net
Posted By: fishtails Re: Pulling my hair out - 03/07/2004 3:07 AM
I took a look at your source code on your home page at qualityfishing.net. There's tons of problems, beginning with your advertising banner s at the very top. You have the images within table cells, yet there is no open table, nor an opening table row tag. Take a look at your html again. This very well may be throwing everything else off, besides adding the code Josh stated.

The following code is what you have beginning your page with no opening table. Add an open table and row at the begining of this code, as well as a closing row and table. Also, you may want to take a look at the cell widths. They add up to 200% on my calculations. Take care of that first, THEN work on the code you posted originally. Also, your logo image might need to be in a table, but if not I would at least add a <br /> at the end of your logo code.

Code
 <td width="50%" align="center"><a href="http://www.qualityfishingadventures.com/" target="_blank"><img border="0" src="http://www.qualityfishing.net/gallery/data/500/2guide_service666666.jpg" width="312" height="100"></a></td><br />                              <br />                              <br />  <td width="50%" align="center"><a href="http://www.visionhooksandtackle.com/" target="_blank"><img border="0" src="http://www.qualityfishing.net/gallery/data/500/2vision-logo.jpg" width="312" height="100"></a></td><br />            <br />  <td width="25%" align="center"><a href="http://www.abugarcia.com" target="_blank"><img border="0" src="http://www.qualityfishing.net/gallery/data/500/2abu.jpg" width="157" height="40"></a></td><br />                              <br />            <td width="25%" align="center"><a href="http://www.berkley-fishing.com" target="_blank"><img border="0" src="http://www.qualityfishing.net/gallery/data/500/2berkley.jpg" width="157" height="40"></a></td><br />            <br />            <td width="50%" align="center"><a href="http://www.theguidesforecast.com" target="_blank"><img border="0" src="http://www.theguidesforecast.com/pic/tgflogo.gif" width="312" height="50"></a></td>                <br />                  <br />             
Posted By: steelhead Re: Pulling my hair out - 03/13/2004 9:38 AM
Why did I do that? Beacause I dont know what I am doing. It works for me, but I will see if I can play with it more. I dont know Jack, but it gives me a chance to learn.

Thanks Guys
© UBB.Developers