CSS Help - easy shit that I am too dumb to figure out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jace
    FBOP Class Of 2013
    • Jan 2004
    • 35562

    #1

    CSS Help - easy shit that I am too dumb to figure out

    #middle h1 {
    width: 206px;
    height: 125px;
    padding: 0px;
    margin: 0px;
    background: #A3CC52 url(images/header-linkblog.gif) no-repeat center center;
    text-indent: -10000px;
    color: #FFF;

    how can I make that image linked to a url?
  • Jace
    FBOP Class Of 2013
    • Jan 2004
    • 35562

    #2
    anyone? bueller? bueller?

    Comment

    • newbreed
      Confirmed User
      • Nov 2003
      • 9898

      #3
      Put the href tag around it.

      Loryn ‎(3:16 PM):
      I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
      fuck it we can have sex on money never did that before

      Comment

      • StuartD
        Sofa King Band
        • Jul 2002
        • 29903

        #4
        make the image linked?

        You can't, but you could make that h1 have an "onclick" handler.

        <h1 onclick="location.href='http://www.yahoo.com'"> Stuff </h1>

        This will make the entire h1 area clickable (the entire background image in a sense).
        This is me on facebook
        This is me on twitter

        Comment

        • aico
          Moo Moo Cow
          • Mar 2004
          • 14748

          #5
          My answer seems too simple, so I won't post it. But a bump for you.

          Comment

          • newbreed
            Confirmed User
            • Nov 2003
            • 9898

            #6
            <a href="url_here">IMAGE_URL_HERE</a>

            Loryn ‎(3:16 PM):
            I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
            fuck it we can have sex on money never did that before

            Comment

            • Jace
              FBOP Class Of 2013
              • Jan 2004
              • 35562

              #7
              dude...um...you all...this is in style.css

              LOL

              you all are giving me html

              Comment

              • Chio
                Confirmed User
                • Oct 2002
                • 8002

                #8
                Header Logo Link I am guessing?

                <div class="your class here" onclick="location.href='<?php echo get_settings('home'); ?>';"></div>

                That does it for me. Modify it for your needs. Mess with that a bit, in your template not css.

                I seo'd my hair yesterday and today it's pr7!
                RIP Texas Dreams

                Are you a content producer or program owner sick of tube sites? Contact me on ICQ: 39-183769

                Comment

                • Jace
                  FBOP Class Of 2013
                  • Jan 2004
                  • 35562

                  #9
                  Originally posted by StuartD
                  make the image linked?

                  You can't, but you could make that h1 have an "onclick" handler.

                  <h1 onclick="location.href='http://www.yahoo.com'"> Stuff </h1>

                  This will make the entire h1 area clickable (the entire background image in a sense).
                  hm...I can try that

                  Comment

                  • Chio
                    Confirmed User
                    • Oct 2002
                    • 8002

                    #10
                    Originally posted by Jace
                    dude...um...you all...this is in style.css

                    LOL

                    you all are giving me html
                    It can't be done in css hence the html

                    I seo'd my hair yesterday and today it's pr7!
                    RIP Texas Dreams

                    Are you a content producer or program owner sick of tube sites? Contact me on ICQ: 39-183769

                    Comment

                    • Chio
                      Confirmed User
                      • Oct 2002
                      • 8002

                      #11
                      Originally posted by StuartD
                      make the image linked?

                      You can't, but you could make that h1 have an "onclick" handler.

                      <h1 onclick="location.href='http://www.yahoo.com'"> Stuff </h1>

                      This will make the entire h1 area clickable (the entire background image in a sense).

                      oops too late. Didn't see yours but yeah that's how you do it.

                      I seo'd my hair yesterday and today it's pr7!
                      RIP Texas Dreams

                      Are you a content producer or program owner sick of tube sites? Contact me on ICQ: 39-183769

                      Comment

                      • Jace
                        FBOP Class Of 2013
                        • Jan 2004
                        • 35562

                        #12
                        Originally posted by StuartD
                        make the image linked?

                        You can't, but you could make that h1 have an "onclick" handler.

                        <h1 onclick="location.href='http://www.yahoo.com'"> Stuff </h1>

                        This will make the entire h1 area clickable (the entire background image in a sense).
                        that did it

                        thanks man!

                        Comment

                        • Jace
                          FBOP Class Of 2013
                          • Jan 2004
                          • 35562

                          #13
                          Originally posted by Chio
                          It can't be done in css hence the html
                          I was referring to newbreed telling me <a href="url_here">IMAGE_URL_HERE</a>

                          it works now though, thanks

                          Comment

                          • newbreed
                            Confirmed User
                            • Nov 2003
                            • 9898

                            #14
                            Originally posted by Jace
                            I was referring to newbreed telling me <a href="url_here">IMAGE_URL_HERE</a>

                            it works now though, thanks
                            My bad Jace, I read it too fast and answered the obvious....lol

                            Yes, tonight, I am "that guy" haha

                            Loryn ‎(3:16 PM):
                            I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
                            fuck it we can have sex on money never did that before

                            Comment

                            • Jace
                              FBOP Class Of 2013
                              • Jan 2004
                              • 35562

                              #15
                              Originally posted by newbreed
                              My bad Jace, I read it too fast and answered the obvious....lol

                              Yes, tonight, I am "that guy" haha
                              haha, that was me last night ;)

                              kiss kiss hug hug baby

                              Comment

                              • StuartD
                                Sofa King Band
                                • Jul 2002
                                • 29903

                                #16
                                Originally posted by Jace
                                that did it

                                thanks man!
                                My pleasure
                                This is me on facebook
                                This is me on twitter

                                Comment

                                Working...