1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Urgent help needed with HTML template

Discussion in 'HTML & JavaScript' started by kingc, Mar 13, 2014.

  1. kingc

    kingc Junior Member

    Joined:
    Dec 10, 2012
    Messages:
    114
    Likes Received:
    45
    Location:
    Your basement
     
  2. MrBlue

    MrBlue Senior Member

    Joined:
    Dec 18, 2009
    Messages:
    974
    Likes Received:
    680
    Occupation:
    Web/Bot Developer
    The center tag has been deprecated.

    Use CSS instead:

    Code:
    .center { margin: auto; text-align: center; }
    
    Code:
        <div class="field">
            <div class="empty">
                <div class="image-wrap">
                    <div class="center"><img src="http://i1081.photobucket.com/albums/...graphicone.jpg" width="470" height="320"></div>
                </div>
            </div>
        </div>
    
     
    • Thanks Thanks x 1
  3. pxoxrxn

    pxoxrxn Supreme Member

    Joined:
    Dec 21, 2011
    Messages:
    1,398
    Likes Received:
    2,073
    Put !important on it aswell.
     
    • Thanks Thanks x 1
  4. kingc

    kingc Junior Member

    Joined:
    Dec 10, 2012
    Messages:
    114
    Likes Received:
    45
    Location:
    Your basement
    Thanks guys, tried it the way you suggested and it worked a treat!