css question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zester
    Confirmed User
    • Jul 2003
    • 5344

    #1

    css question

    here is what i'm trying to do:
    I have a text signature I want to stick at the bottom a page, regardless of the page's height. always at the bottom as the last thing on the page.

    something like: "All Right Reserved".

    the thing is I want to use CSS only for this and not JavaScript.

    I need something like: background-position: 100% 100%, but I know that only works for a background image (right?)

    any way to do this?
    Last edited by Zester; 03-15-2005, 12:55 AM.
    * Mainstream ? $65 per sale
    * new male contraception
  • Serge Litehead
    Confirmed User
    • Dec 2002
    • 5190

    #2
    Whats the question?

    Comment

    • BastarD
      Confirmed User
      • Apr 2004
      • 6341

      #3
      I bet you can't do it with css only

      Comment

      • Zester
        Confirmed User
        • Jul 2003
        • 5344

        #4
        Originally posted by holograph
        Whats the question?
        How do I make a certain layer/object I define via CSS to always be the last thing at the page, and at a position which it is always stuck to bottom of the page using CSS and without using JavaScript.
        * Mainstream ? $65 per sale
        * new male contraception

        Comment

        • Zester
          Confirmed User
          • Jul 2003
          • 5344

          #5
          Originally posted by BastarD
          I bet you can't do it with css only
          I've googled for it and didn't find much about it. only regarding background images.

          by the way...you're sig..........effective - because I can't get it out of my head.
          * Mainstream ? $65 per sale
          * new male contraception

          Comment

          • Serge Litehead
            Confirmed User
            • Dec 2002
            • 5190

            #6
            not sure about layers and their positions, gave up dhtml some time ago, usually if i want something to appear at the bottom of the page i make a table with height about of 95%.. put all the content in the table aligned as desired and the footer line goes right after table end.. so its stays always at the bottom

            Comment

            • Zester
              Confirmed User
              • Jul 2003
              • 5344

              #7
              Originally posted by holograph
              not sure about layers and their positions, gave up dhtml some time ago, usually if i want something to appear at the bottom of the page i make a table with height about of 95%.. put all the content in the table aligned as desired and the footer line goes right after table end.. so its stays always at the bottom
              that's what i'm doing now
              but there must be a way to do it in CSS that i don't know of and is a little less HTML messy
              Last edited by Zester; 03-15-2005, 01:08 AM.
              * Mainstream ? $65 per sale
              * new male contraception

              Comment

              • Serge Litehead
                Confirmed User
                • Dec 2002
                • 5190

                #8
                something like this:
                [HTML]
                .footer
                {
                position: absolute;
                top: 95%;
                }[/HTML]

                Comment

                • Zester
                  Confirmed User
                  • Jul 2003
                  • 5344

                  #9
                  Originally posted by holograph
                  something like this:
                  [HTML]
                  .footer
                  {
                  position: absolute;
                  top: 95%;
                  }[/HTML]
                  so fucking simple
                  thanks man
                  * Mainstream ? $65 per sale
                  * new male contraception

                  Comment

                  • Zester
                    Confirmed User
                    • Jul 2003
                    • 5344

                    #10
                    Originally posted by holograph
                    something like this:
                    [HTML]
                    .footer
                    {
                    position: absolute;
                    top: 95%;
                    }[/HTML]

                    the only problem with this is when you change the window's size
                    * Mainstream ? $65 per sale
                    * new male contraception

                    Comment

                    • Serge Litehead
                      Confirmed User
                      • Dec 2002
                      • 5190

                      #11
                      it also may overlap other text if page is scrollable
                      i'm used to tables

                      Comment

                      Working...