1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Firefox Not Aligning Table to Top of Page

Discussion in 'CSS' started by larssonk22, Nov 19, 2009.

  1. #1
    EDIT: Problem solved thanks to vinpkl

    I have a site that I'm updating

    ~link removed~

    Firefox doesn't display page correctly, table that contains the content shifts down so it appears that page is blank unless you scroll down.

    Here is the CSS code for the page, I've inserted vertical-align: top; into the .CenterColumn and .table but the table is not moving (works fine in IE)

    
    ~Removed~
    Code (markup):
    Thanks
     
    Last edited: Nov 19, 2009
    larssonk22, Nov 19, 2009 IP
  2. vinpkl

    vinpkl Active Member

    Messages:
    899
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #2
    you have two comments in your html (i have enclosed copy of them below).

    Before these comments there are two <td>. you need to add valign="top" in both these <td>.

    see my code below and amend it .

    <td class="CenterColumn" align="center" valign="top" >
    <!--START MAIN information area-->

    <td valign="top">
    <!--START About 365 (Dynamic Content Page)-->


    VINEET
     
    vinpkl, Nov 19, 2009 IP
  3. larssonk22

    larssonk22 Well-Known Member

    Messages:
    236
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #3
    Hi VINEET,

    I would like to do this in the CSS, otherwise it means me going through every single page inserting the code (which did try and didn't work :( )
     
    larssonk22, Nov 19, 2009 IP
  4. vinpkl

    vinpkl Active Member

    Messages:
    899
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #4
    alright try this.

    in class "CenterColumn" in css remove height:350px

    and let me know.

    vineet
     
    vinpkl, Nov 19, 2009 IP
    larssonk22 likes this.
  5. larssonk22

    larssonk22 Well-Known Member

    Messages:
    236
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #5
    Brilliant that did it :D
     
    larssonk22, Nov 19, 2009 IP
  6. vinpkl

    vinpkl Active Member

    Messages:
    899
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #6
    happy to know my solution worked.

    vineet

     
    vinpkl, Nov 19, 2009 IP