Need some html help

Discussion in 'HTML & Website Design' started by lassie911, Apr 29, 2009.

  1. #1
    Could someone view my code and show me how to code this page so the content in the middle is displayed at the top instead of the middle of the page? Here is the page. I created a top and bottom page that pretty much has the majority of my site's code. The middle content has the top/bottom php included to make the page. I wasn't even going for this look but I made an error and would like to keep the 3 columns.
     
    lassie911, Apr 29, 2009 IP
  2. hkmike

    hkmike Peon

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could try placing
    <div class="paragraph"> (text here) </div>
    Code (markup):
    around the text you want to move up, then in the css properties, create a new property,
    .paragraph {vertical-align: top;}
    Code (markup):
     
    hkmike, Apr 29, 2009 IP
  3. nik-pwns

    nik-pwns Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I had the same type of thing on one of my sites, im guessing you are using table cells?
     
    nik-pwns, Apr 29, 2009 IP
  4. coox132

    coox132 Banned

    Messages:
    138
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    basically the same as mike said but incase you dont understand

    put

    
    
    .paragraph {
    vertical-align: top;
    }
    
    In between the <head> and </head> Section 
    
    and 
    
    the other part in between the <body> </body> part
    
    Code (markup):
    Thanks,
    John
     
    coox132, Apr 29, 2009 IP