Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Aug 2011
    Posts
    38
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Text float to bottom?

    Hi. I'm trying to get some text to float to the bottom of a div. But, I'm having difficulty doing this.

    On http://www.externalwow.info/ at the top is the two lines, A free public World of Warcraft 3.3.5a server powered by ArcEmu. and set realmlist logon.externalwow.info, which I want to float to the bottom of the div, banner, instead of the top.

    How would I do this?

  • #2
    Senior Coder rangana's Avatar
    Join Date
    Feb 2008
    Location
    Cebu City, Philippines
    Posts
    1,752
    Thanks
    65
    Thanked 372 Times in 365 Posts
    There's just two things that you need to do:
    • Add position: relative; in the CSS along the #banner selector
    • Position those text using:
      Code:
      <text style="float: left;position: absolute;bottom: 20px;">


    Hope that helps.
    Learn how to javascript at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph

  • #3
    New Coder
    Join Date
    Aug 2011
    Posts
    38
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rangana View Post
    There's just two things that you need to do:
    • Add position: relative; in the CSS along the #banner selector
    • Position those text using:
      Code:
      <text style="float: left;position: absolute;bottom: 20px;">


    Hope that helps.
    Thanks for the reply but the text has gone to the very bottom of the page

  • #4
    Senior Coder rangana's Avatar
    Join Date
    Feb 2008
    Location
    Cebu City, Philippines
    Posts
    1,752
    Thanks
    65
    Thanked 372 Times in 365 Posts
    ...it's because you missed the first instruction. Please add position:relative; to the #banner div.
    Learn how to javascript at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph

  • Users who have thanked rangana for this post:

    Skiroid (10-03-2011)

  • #5
    New Coder
    Join Date
    Aug 2011
    Posts
    38
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rangana View Post
    ...it's because you missed the first instruction. Please add position:relative; to the #banner div.
    sorry lol, the body.css didn't upload properly the first time

    thanks

  • #6
    New Coder
    Join Date
    Sep 2011
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rangana View Post
    There's just two things that you need to do:
    • Add position: relative; in the CSS along the #banner selector
    • Position those text using:
      Code:
      <text style="float: left;position: absolute;bottom: 20px;">


    Hope that helps.
    Yeah. Thanks. It really worked great for me.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •