Need help with my HTML code badly.

Discussion in 'HTML & Website Design' started by misery89, Aug 22, 2007.

  1. #1
    Hey there everyone, my mom is having a few problems with her company website, ever since this morning it seemed 2/3 of her Real Estate Listings were unaligned with the top 1/3.

    Here is a direct link to the website.

    http://www.countryrealestatebroker.com/Price/AllListings.htm

    If you scroll down to the property of $207,000 you can see that it's slightly off to the side, and not even with the top of the page's listings.

    I'm wondering how I could fix this for her, you can view the Page Source to get the full code, and have a good look at what the problem may be.

    PS- when viewing the website on her computer (the PC that actually uploads/edits the website) the problem is a lot more major, and is completely unaligned by more than 5cm, and the text isn't aligned like the top 1/3. :eek:

    Please help me and give me some input, it would be greatly appreciated.
     
    misery89, Aug 22, 2007 IP
  2. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Argh that coding is bad...

    <TD ALIGN=CENTER width="257" height="197"><p>&nbsp;</p>
    <p><font face="Times New Roman"><a href="../Properties/Dolliver317/details.htm" target="_blank"><img border="1" style="border-color: red" src="../Properties/Dolliver317/Housethumb.jpg" alt="5685 Kempt Shore" width="140" height="105"></a></font> </p>
    </TD>

    Take the <p> and </p> tags out of that code. See if that makes a difference. Think thats what it is. Thats the only difference between that one and below and the ones above.
     
    twistedspikes, Aug 22, 2007 IP
  3. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #3
    actully scrap that.

    It's cause she starts a new table. Take this code out:

    </table>



    <table align=center CELLSPACING=5 CELLPADDING=6 BORDER=0 width="805" style="line-height: 100%" height="6750" >
     
    twistedspikes, Aug 22, 2007 IP
  4. ::Mike::

    ::Mike:: Peon

    Messages:
    826
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ^hes on the ball.
     
    ::Mike::, Aug 22, 2007 IP
  5. misery89

    misery89 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Haha, thanks a lot for your suggestions
    I'll run over to the office right now and try it out.

    She hired someone a few years ago to make the website and I've been trying to make it more efficient for awhile.

    I'll keep you informed, thanks again.
     
    misery89, Aug 22, 2007 IP
  6. misery89

    misery89 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I removed those lines of code you suggested, and right away it lined up perfectly on Dreamweaver.

    Although when I upload it to the net, and re-check it on the actual website.. the same problem happens.

    I'm confused because on this computer (office computer #1) and the one upstairs (office computer #2) it doesn't seem to have changed it at all, the same problem occurs.

    Though when I view the website from my laptop, the website looks passable. :confused:

    The page appears fine on Dreamweaver, but as soon as it's uploaded it's askew on the internet.

    Hope I've provided enough information. I'm trying to get this done before I leave for Univeristy in 2 days, because if my mom is working on this alone it will only get worse :p
     
    misery89, Aug 22, 2007 IP
  7. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #7
    It could be your internet temp files (basicly stores the website so when you come back to it it'll load much faster).

    Is it uploaded to the same place?
     
    twistedspikes, Aug 22, 2007 IP
  8. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #8
    okay looked again and theres another table causing it...how many does the site need?

    personally I'd recomend a complete overhaul of the code. Even just to make it look the same, but better code (so it'll work properly in all browsers, resoultions, and validate). How big is the site? Just those 6 pages? I could do it for your mom for a fee, or help you do it for your mom for nothing, even if it's just in your spare time while your at uni or whatever.

    Delete this:

    </table>



    </td>
    </tr>


    <tr>




    <table align=center CELLSPACING=5 CELLPADDING=6 BORDER=0 width="806" >
     
    twistedspikes, Aug 22, 2007 IP
  9. VimF

    VimF Well-Known Member

    Messages:
    307
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    118
    #9
    Hopefully this will work:
     

    Attached Files:

    VimF, Aug 22, 2007 IP
  10. TomSee

    TomSee Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I know it's fixed an all now, but you/your mum might wanna consider cleaning this code up, it's very ugly and only makes life harder if you get any problems in the future.
    Google HTML Tidy.
     
    TomSee, Aug 22, 2007 IP
  11. misery89

    misery89 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Wow, thanks to all of you I have finished this up and put a smile on mom's face, haha.

    I appreciate you taking your time to help me with this problem, I'll be sure to get HTML Tidy so I can actually make this code a little cleaner.

    Is it agreed this is the best program to make the code most efficient?
    Hopefully it does all the hard work :)

    I'm self-taught so I love learning new things with HTML, PHP, and whatever else.

    Thanks again for everyone's support, definatley couldn't have done it alone. ;)
     
    misery89, Aug 22, 2007 IP
  12. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #12
    Well my offer still stands if you need help recoding it. I'll help for free.
     
    twistedspikes, Aug 22, 2007 IP
  13. popnyc

    popnyc Active Member

    Messages:
    1,391
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #13
    I'm looking for some minor tweaks on my web page but I don't have the forum credentials to start a new topic yet as I just have joined.

    Is anyone available? Please send your rate.

    I am looking to change the font of my page to match the google adsense font, insert a shaded border at the top and replace a picture.

    Thank you
    :)
     
    popnyc, Aug 22, 2007 IP