Why Is This Not Aligning?

Discussion in 'HTML & Website Design' started by gobbly2100, Oct 19, 2007.

  1. #1
    Hey,

    I am not really sure what has happened but for some reason my footer is not aligning to the center anymore and I can't see where I have messed the page up.

    Huxley

    Could you please have a little look and see if you can see where the problem is, I would be so greatful.

    Thanks!
     
    gobbly2100, Oct 19, 2007 IP
  2. Lordy

    Lordy Peon

    Messages:
    1,643
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #2
    are you talking about the words?

    if so, for one thing, i don't see a <center> </center> code
     
    Lordy, Oct 19, 2007 IP
  3. gobbly2100

    gobbly2100 Banned

    Messages:
    906
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well in the footer you can see the text and the FireFox ad aligning to the left, I think I must have deleted a tag or something.
     
    gobbly2100, Oct 19, 2007 IP
  4. Lordy

    Lordy Peon

    Messages:
    1,643
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i see the firefox ad in the middle, and the text
    to the left
     
    Lordy, Oct 19, 2007 IP
  5. gobbly2100

    gobbly2100 Banned

    Messages:
    906
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ah I see if you view the site in FF it shows it center but left in IE hmm . .

    Well I still feel fairly sure I have messed up a tag somewhere or something.
     
    gobbly2100, Oct 19, 2007 IP
  6. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #6
    I just looked at your code,

    You are using css as well and have a class for your footer called "footer class"

    what you need to do is position that txt with css, or use a table for positioning, one way or another there is nothing telling i.e where it should be
     
    sundaybrew, Oct 19, 2007 IP
  7. JoinMyForumDOTcom

    JoinMyForumDOTcom Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Try this. if this don't work i can post the css code when I get home. I have a css program.

    <center><a href="/sitemap.xml"><img src="/images/xml.gif" alt="XML Sitemap" width="36" height="14" /></a></p>
          <p class="style33"><strong>Affiliates</strong><a href="http://www.2weird.co.uk"><br />
            </a><span class="footerlinks"><a href="http://www.2weird.co.uk">Linking</a> - <a href="http://www.driving-lessons.biz">Driving</a> - <a href="http://www.diabetes-forums.org">Diabetes</a> - <a href="http://www.gobbly2100.com">SEO</a> - <a href="http://www.online-multiplayer.com">Gaming</a> - <a href="http://www.shaneboard.com">Shane Board</a> - <a href="http://www.web-building.net">Web Design</a> - <a href="http://www.online-multiplayer.com">Multiplayer</a> - <a href="http://www.freewebs.com/nline-multiplayer">Game Community</a> - <a href="http://gobbly2100.blogspot.com/">Blog </a> - <a href="http://www.myspace.com/huxleymmofps">Huxley MySpace</a> - <a href="http://www.myspace.com/omgaming">Gaming MySpace</a> - <a href="http://www.bluenotesolutions.com">Web Hosting</a></span> </p>
    
          <p class="style33"><!-- Begin W3Counter Tracking Code -->
    <script type="text/javascript" src="http://www.w3counter.com/tracker.js"></script>
    <script type="text/javascript"></center>
    Code (markup):
     
    JoinMyForumDOTcom, Oct 20, 2007 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Don't use the deprecated (read: obsolete) <center></center> tags. Not only is it presentational HTML (HTML is a structural markup language, remember?) but it's also been slated to be removed from the specification entirely (which is why it doesn't appear in Strict DOCTYPES).
     
    Dan Schulz, Oct 20, 2007 IP
  9. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Anyway, you have 32 HTML validation errors on your home page. Fix those errors, then check your stylesheet for any CSS errors or warnings and fix them, then check your page again.
     
    Dan Schulz, Oct 20, 2007 IP
  10. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #10
    (Off-topic) this is for the person who said I'm "wrong" via the rep system - if you're going to contradict me, be an adult and say it in public. Don't hide behind the reputation system.
     
    Dan Schulz, Oct 20, 2007 IP