Got a little techonology problem that you need fixed pronto? Post it here and we'll see what we can do.
Topic locked

What Am I Doing Wrong? (NEED HELP FAST!)

Wed Dec 07, 2005 8:21 pm

http://hugsforhn.t35.com/testpage.html

The images are all in order, but for some reason, they're all dislodged. What did I do wrong? oO

It's supposed to be in tables...if that helps.

Wed Dec 07, 2005 11:27 pm

I am looking through the code and I can't seem to find anything that is jumping right out at me. Man has it been a while since I wrote HTML - stupid notepad

Thu Dec 08, 2005 2:48 am

freddyflinstone wrote:I am looking through the code and I can't seem to find anything that is jumping right out at me. Man has it been a while since I wrote HTML - stupid notepad


Same here. At first I thought that the table width might be too much, but it seems to add up fine.

Maybe it's your ads? (I have adblock on, so it might distort some things for me.)

Maybe (and this is just a maybe), make sure that all your measurements are included in quotations? It shouldn't make a difference, but...

Thu Dec 08, 2005 3:47 am

Hey, I'm pretty sure it's your last row. Your table has 8 columns, I think? The last row only has one column, and since the cell in that row is quite wide, it's pushing out all the other columns.

You're also missing </td>, </tr> and </table> tags for that last row, the BORDERCOLOR attribute of the last table hasn't been closed (you need another "), and the td valign attribute just after it isn't closed either. So those might add to the problem!

Try replacing your last row with this:
Code:
<TR>
    <td colspan="8">
        <table cellpadding="0" cellspacing="0" WIDTH="480" HEIGHT="151" BORDER="1" BORDERCOLOR="B86A7O">
                <tr>
                    <td valign="center">
                        <font face="Arial" size="1" color="black">
                        Hello, and welcome to the Hugs for Hawk Nelson website! Things are STARTING to get somewhat under control...
        testing testing testing
                        </font>
                    </td>
                </tr>
        </table>
    </td>
</TR>


Edit: I've tested that out, and it helps a bit. The navigation links are still a bit wonky, but adding align="left" to each of those cells might help. If that still doesn't work, try adding an empty cell to the end of that row, with a width of 100%:
Code:
<td width="100%"></td>

All the other spanning rows would need to be adjusted to colspan="9' then, of course ;)

Thu Dec 08, 2005 4:54 pm

Maz, you just spoke greek to me.
I found out what might've been the problem. See, PSP 8 generated the code for my after cutting the image for linking. I realised that it had a blank image and I had taken that out.

Now everything works. 8) Thanks for your help, though, everyone! ^^

Thu Dec 08, 2005 10:22 pm

Hmm, you really shouldn't use tables for layout :/ It's possible to code that layout with less than half the lines of codes, plus it would look much better (the code that is :)) when reading it :)

Thu Dec 08, 2005 11:28 pm

DM was on fire! wrote:Maz, you just spoke greek to me.

Hahaha... don't you mean geek? ;)

Glad to hear you've got it fixed up. It certainly did look like a generating problem, the code at the end of the page that I was talking about is all good now :)

Fri Dec 09, 2005 6:43 pm

Ibis wrote:Hmm, you really shouldn't use tables for layout :/ It's possible to code that layout with less than half the lines of codes, plus it would look much better (the code that is :)) when reading it :)


Actually, I did want to code it using DIVs, but I'm not good with them. I can try it out on my test page though and see how it turns out. :)

Maz - You're right...I'll cue the wah-wah-wah. :P
Topic locked