diffent homepage wide sizes ...

Discussion in 'HTML & Website Design' started by pepe_lepew1962, Sep 9, 2012.

  1. #1
    Hello:

    I am totally confused. I write and test my pages on my computer via XAMPP and then upload to my test server for final testing. When I test via XAMPP, 127.0.0.1, everything looks perfect, but when I upload to the test server, it is incorrect. The correct size on the test server that I am trying to achieve is the menu portion and the header bar and main body are about 10 px too short. Can anyone help me please. I know it is bad using the tables for formatting, and I am slowing replacing those, but I need to get the general area formatted properly before I tackle the table replacement.

    Here is the test page:

    http://pepelepew.netne.net/homehome/homehome.php


    Thanks,
     
    pepe_lepew1962, Sep 9, 2012 IP
  2. dwirch

    dwirch Well-Known Member

    Messages:
    239
    Likes Received:
    12
    Best Answers:
    1
    Trophy Points:
    135
    #2
    If I understand you correctly, you don't want any gaps between the top and the header block (Page_Head), nor between the header and the body (Page_Main).

    Have you tried putting margin:0 auto; into your CSS? That would get rid of that <center> tag, too.
     
    dwirch, Sep 9, 2012 IP
  3. pepe_lepew1962

    pepe_lepew1962 Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    No. The main issue was why there is/was a difference betwwen my XAMPP version compared to my test site version. This is priceless !!! The reason was so damn obvious it screams stupidity. I was using old graphics on my test server. I am signing off and hitting the bottle ... \_/ Cheers
     
    pepe_lepew1962, Sep 9, 2012 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    Well, for starters you've got a laundry list of how not to build a website... Tables for layout, elements like CENTER that are not only deprecated in STRICT they have no business in the code of any site written after 1998, bold and paragraph tags around non-paragraph elements that should be receiving style externally, javascript for nothing waste of space with the date and time nonsense, multiple UL for what's a single list, nothing remotely resembling semantic markup... and that's before we start talking about the accessibility wreck of the fixed width layout, header element that likely forces you into that fixed width, absurdly undersized fixed metric (px) fonts in the content area, non-breaking spaces doing CSS' job, a table I suspect is there doing CSS' job, etc, etc, etc...

    This is just another laundry list of how not to build websites, which is how you ended up with 12k of HTML before you even have content on the page, when at MOST right now you should have is around 2k!
     
    deathshadow, Sep 9, 2012 IP