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.

unable to get my content to center

Discussion in 'HTML & Website Design' started by alexaCSHF, Jan 31, 2012.

  1. #1
    Solved! View solution.
    alexaCSHF, Jan 31, 2012 IP
  2. Toycel

    Toycel Peon

    Messages:
    243
    Likes Received:
    11
    Best Answers:
    4
    Trophy Points:
    0
    #2
    You are confusing the browsers by having a div #center but then you are using <center> both referenced in the css.
     
    Toycel, Jan 31, 2012 IP
  3. alexaCSHF

    alexaCSHF Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i tried taking both out one by one & it didn't work.
     
    alexaCSHF, Jan 31, 2012 IP
  4. wiicker95

    wiicker95 Well-Known Member

    Messages:
    438
    Likes Received:
    37
    Best Answers:
    10
    Trophy Points:
    100
    #4
    Your website's code is a failure. Yet using <center> tag is an error, since that html tag is depricated. There are about 80 errors in total, not to mention.
     
    wiicker95, Jan 31, 2012 IP
  5. alexaCSHF

    alexaCSHF Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Okay well does anyone know how to center the text using the coding I already have?
     
    alexaCSHF, Jan 31, 2012 IP
  6. #6
    The code is overall a complete headache. I suggest recoding the whole site, but I got it to work.

    In this part of your code:
    Move the </div> tag down:
    <div id="center">
    
    
    [B]</div> !!! -- REMOVE THIS --- !!!
    [/B]
    </body>
    </html>
    
    
     
    <h1>header</h1> !!! -- CHANGE TO:[B] <h1 id="center">header</h1>[/B]
    <br><br>
    
    Texxttttt.
    <br>
    <a href="http://www.hairfliplyts.com">link</a>
    <br>
    <b>bold</b> <i>italicize</i> <u>underline</u>
    <br>
    <big>big</big> <small>small</small>
    [B]</div> !!! -- ADD IT HERE -- !!![/B]
    
    <br><br>
    <div id="footer"> 
    Code (markup):
    So that part of your code should be changed to:
    
    <div id="center">
    
    
    </body>
    </html>
    
     
    <h1 id="center">header</h1>
    <br><br>
    
    
    Texxttttt.
    <br>
    <a href="http://www.hairfliplyts.com">link</a>
    <br>
    <b>bold</b> <i>italicize</i> <u>underline</u>
    <br>
    <big>big</big> <small>small</small>
    </div>
    <br><br>
    <div id="footer"> 
    
    Code (markup):
    This is how it ended up for me:
    hair.JPG

    That what you wanted?
     
    aidanriley, Jan 31, 2012 IP
  7. alexaCSHF

    alexaCSHF Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yes thank you!!
     
    alexaCSHF, Jan 31, 2012 IP
  8. aidanriley

    aidanriley Banned

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    51
    #8
    No problem, let me know if you need help fixing anything else on it.
     
    aidanriley, Jan 31, 2012 IP
  9. designindia

    designindia Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    [TABLE="class: lw-support-thread-messages-thread-details-container"]
    [TR]
    [/TR]
    [TR]
    [TD="class: lw-thread-body-message"] No matter what I do I cannot get the item I ordered. Yes is was a custom order but there should be somway to make the seller send my item. I call, I write and done all kinds of complaints. I can't even leave a message for people not to buy.


    [​IMG]

    [/TD]
    [/TR]
    [/TABLE]
     
    designindia, Feb 21, 2012 IP