Display copyright text INSIDE the footer?

Discussion in 'HTML & Website Design' started by Lucas806, Apr 13, 2013.

  1. #1
    On my site, LucasCP.com/store, there is copyright text placed at the bottom of the page. The annoying thing is that it is right on top of the bottom of the footer and I want it to be displaying inside the footer as you may have guessed. Any help with this will be much appreciated.
     
    Lucas806, Apr 13, 2013 IP
  2. Tony Robles

    Tony Robles Greenhorn

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    21
    #2
    Looks like you have an extra <p></p> class in the footer that is causing the text to move down

    
    <div id="footer">
    <p></p> <---This one is causing the spacing
    <center>Copyright © LucasCP.com 2013. All rights reserved. | <a href="http://www.lucascp.com/terms-of-service/">Terms of Service</a><p></p></center>
    </div>
    
    Code (markup):
    Try doing something like this:

    
    <div id="footer">
    <p style="text-align: center;">Copyright © LucasCP.com 2013. All rights reserved. | <a href="http://www.lucascp.com/terms-of-service/">Terms of Service</a></p>
    </div>
    
    Code (markup):
     
    Tony Robles, Apr 13, 2013 IP
  3. avantemedia

    avantemedia Active Member

    Messages:
    285
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    90
    #3
    The above should be enough for you, but to work cross browser something like this might be more approriate.


    
    <div id="footer">
    <p class="footer">Copyright © LucasCP.com 2013. All rights reserved. | <a class="footer" href="http://www.lucascp.com/terms-of-service/">Terms of Service</a></p>
    </div>
    
    Code (markup):
    Then your css file should have the footer text as follows

    
     
    #footer {
    background:url(http://lucascp.com/store/images/footer-image.png) no-repeat;
    margin:0 auto 10px;
    width:966px;
    height:13px;
    padding:15px;
    }
    #footer p{
    text-align: centre;
    margin-bottom: 10px;
    }
    
    Code (markup):
    This should give you the layout that you need without any issues in any browser
     
    avantemedia, Apr 14, 2013 IP
  4. Lucas806

    Lucas806 Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    I tried that. I use Google Chrome and I don't know if it looks the same for you, but it's just taken the text back to where it was.
     
    Lucas806, Apr 14, 2013 IP
  5. avantemedia

    avantemedia Active Member

    Messages:
    285
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    90
    #5
    Sorry I didnt quite put it right just texted and works fine for me with the following.

    
     
    <div id="footer">
             
              <p>Copyright © LucasCP.com 2013. All rights reserved. | <a href="http://www.lucascp.com/terms-of-service/">Terms of Service</a></p>
     
          </div>
    
    Code (markup):

    
     
    #footer {
    background:url(http://lucascp.com/store/images/footer-image.png) no-repeat;
    margin:0 auto 10px;
    width:966px;
    height:13px;
    padding:15px;
    }
     
    #footer p{
      text-align:center;
      margin-top:0px;
    }
    
    Code (markup):
    Hope this gets you everything you need
     
    avantemedia, Apr 14, 2013 IP
  6. Lucas806

    Lucas806 Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #6
    Again, it's the same. :L
     
    Lucas806, Apr 14, 2013 IP
  7. avantemedia

    avantemedia Active Member

    Messages:
    285
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    90
    #7
    you didnt change your style.css? Or didnt upload it? lol, on your live copy i still see the centre tags in the footer and your style sheet doesnt include the footer p stuff. try it and upload it, when its done let me know and ill look here.

    I downloaded it changed and tested it here at my computer all works fine in chrome, firefox and safari
     
    avantemedia, Apr 14, 2013 IP
  8. Lucas806

    Lucas806 Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #8
    It says I've uploaded it. Could you check now?
     
    Lucas806, Apr 14, 2013 IP
  9. avantemedia

    avantemedia Active Member

    Messages:
    285
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    90
    #9
    you may not be putting it in the correct folder because it still shows that the old stye.css is there with no update, you can pm me the ftp details and i wil upload a modified one for you if you are having issues? I don't mind doing a quick freebie lol
     
    avantemedia, Apr 14, 2013 IP