Html Code Problem

Discussion in 'HTML & Website Design' started by nufcfan, Dec 27, 2007.

  1. #1
    I have recently added a new header to my forums but it does nt sit central to the page and its not at the tpop of page www.442footballforums.com can anyone help me.
     
    nufcfan, Dec 27, 2007 IP
  2. ultraonix

    ultraonix Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try a float:left for the header.
     
    ultraonix, Dec 27, 2007 IP
  3. n-james

    n-james Well-Known Member

    Messages:
    1,367
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    165
    #3
    This should solve your problem:

     
    n-james, Dec 27, 2007 IP
  4. nufcfan

    nufcfan Well-Known Member

    Messages:
    1,147
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    128
    #4
    ive added the above code and although its made it better i still can t get the header to move to the left any more ?? is there another bit of code.
     
    nufcfan, Dec 27, 2007 IP
  5. monosulpa

    monosulpa Guest

    Messages:
    37
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    try with this

    <div style="position:absolute; left: 0px; top: 0px;">
    Code (markup):
     
    monosulpa, Dec 27, 2007 IP
  6. nufcfan

    nufcfan Well-Known Member

    Messages:
    1,147
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    128
    #6
    thanks thats helped lots cheers :)
     
    nufcfan, Dec 27, 2007 IP
  7. monosulpa

    monosulpa Guest

    Messages:
    37
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you're welcome if you want it more centered just give some values to the left for example

    left:100px; or 150px or 200px or 500px to move the image more to the center
     
    monosulpa, Dec 27, 2007 IP