Need Your Help With Html

Discussion in 'HTML & Website Design' started by deriklogov, Feb 17, 2009.

  1. #1
    Hi,

    Need your help with html,
    look at the bottom of the page
    http://bidbut.com/user_reg.php

    Text "Pay safely on BidBut.Com:" are not centered to images, working fine on all other pages except this one, tried everything, doesn't help, need some professional suggestion.

    Thank you very much
     
    deriklogov, Feb 17, 2009 IP
  2. Gursimran

    Gursimran Well-Known Member

    Messages:
    1,385
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Use <center> </center> or <div align="center"> </div>

    If you want it to be in new line then use <br /> after Pay safely on BidBut.Com:

    Thanks.
     
    Gursimran, Feb 17, 2009 IP
  3. wizkid0319

    wizkid0319 Peon

    Messages:
    83
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    <div id="footertext" align="center"><center>Pay safely on BidBut.Com:</div>

    look here mate... if u open a tag u have 2 close. so close your <center> tag using </center>
    correction
    <div id="footertext" align="center"><center>Pay safely on BidBut.Com:</center></div>

     
    wizkid0319, Feb 17, 2009 IP
  4. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There is no need to use align="center" at all or <center> which I think is depreceated as this can be done with CSS.

    Adding margin: 0 auto; to the CSS for the element in question will center it.

    So let's say I have

    <div id="footer">© My Design 2009</div>

    And have inside the CSS:

    #footer { margin: 0 auto; width 95%; background: black; }

    The footer will then be centered. As it applies 0px margin to the top and bottom of the element, but automatically calculates the left and right margins to center the element.
     
    wd_2k6, Feb 18, 2009 IP
  5. blazinrachel

    blazinrachel Peon

    Messages:
    230
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You may use these tags <center></center> or just these tags <div></div> especially for tableless.
     
    blazinrachel, Feb 18, 2009 IP
  6. deriklogov

    deriklogov Well-Known Member

    Messages:
    1,080
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    130
    #6
    Hello ,

    Thank you very much for your replies, but none of the suggestion helps.
    Any other suggestions ? =(
     
    deriklogov, Feb 18, 2009 IP
  7. MikeHayes

    MikeHayes Peon

    Messages:
    95
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hi,
    2nd row below no style="align:center;", could be a problem. And then the <center> tag's surplus.

    <div id="footer" style="align:center;">
    <div id="footertext" align="center"><center>Pay safely on BidBut.Com:</div>


    As a matter of interest we see above the <html> tag the following:

    <table width="980" cellpadding="0" cellspacing="0" border=0 align="center">
    <tr><td>


    Should it maybe be somewhere else?

    Regards,

    Mike
     
    MikeHayes, Feb 19, 2009 IP
  8. matiskater

    matiskater Peon

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    do <center> </center>
     
    matiskater, Feb 19, 2009 IP
  9. SiteTalkZone

    SiteTalkZone Peon

    Messages:
    243
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Have people forgotten how to use CSS styling properly?

    #footertex{
    text-align:center;
    }
    table {
    width:980px;
    cellpadding:0px;
    cellspacing:0px:
    border:0px;
    text-align:center;
    }
     
    SiteTalkZone, Feb 20, 2009 IP
  10. terehoff

    terehoff Active Member

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #10
    2nd row below no style="align:center;", could be a problem
    What's a problem? Did you resolve it?
     
    terehoff, Feb 20, 2009 IP
  11. deriklogov

    deriklogov Well-Known Member

    Messages:
    1,080
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    130
    #11
    doesnt work, its working on 1 page (main) but doesnt work on this one, like something is holding it
     
    deriklogov, Feb 20, 2009 IP
  12. deriklogov

    deriklogov Well-Known Member

    Messages:
    1,080
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    130
    #12
    I fix that , thank you
     
    deriklogov, Feb 20, 2009 IP