Results 1 to 5 of 5

Thread: Need some CSS Help

  1. #1
    asmithz's Avatar Hi-Definition
    Join Date
    Jun 2003
    Posts
    8,642
    Code:
    <style type="text/css">
    table table table td {vertical-align:top ! important;}
    span.blacktext12 {
    visibility:visible !important;
    background-color:transparent;
    background-image:url("http://img77.imageshack.us/img77/2041/unscenebanner3to.gif");
    background-repeat:no-repeat;
    background-position:center center;
    font-size:0px; letter-spacing:-0.5px;
    width:435px; height:75px; display:block !important; }
    span.blacktext12 img {display:none;}
    /* Generated by bbz. */
    </style>
    I want to make the image in there a link
    Last edited by asmithz; 08-07-2005 at 11:04 AM.

  2. Internet, Programming and Graphics   -   #2
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    21,669
    It's a background image, so it can't be clicked...
    Only thing you could do is make the container with that span.blacktext12 into a link or to put a blank/clear image over top of the background...

  3. Internet, Programming and Graphics   -   #3
    asmithz's Avatar Hi-Definition
    Join Date
    Jun 2003
    Posts
    8,642
    Quote Originally Posted by rossco
    It's a background image, so it can't be clicked...
    Only thing you could do is make the container with that span.blacktext12 into a link or to put a blank/clear image over top of the background...
    Yea ya.... Anything if you know how to make it work. I was thinking about the blank clear image idea too, but wasnt sure how to do it. I know nothing about CSS and thoght it was only for changing stuff not placing.

  4. Internet, Programming and Graphics   -   #4
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    21,669
    Quote Originally Posted by asmithz
    Quote Originally Posted by rossco
    It's a background image, so it can't be clicked...
    Only thing you could do is make the container with that span.blacktext12 into a link or to put a blank/clear image over top of the background...
    Yea ya.... Anything if you know how to make it work. I was thinking about the blank clear image idea too, but wasnt sure how to do it. I know nothing about CSS and thoght it was only for changing stuff not placing.
    I think it would be best to just not have teh image as a background if you want to make it clickable.

  5. Internet, Programming and Graphics   -   #5
    sparsely's Avatar °¤°¤°¤°¤°¤°¤°
    Join Date
    Dec 2002
    Location
    static hum
    Posts
    3,486
    if you want the image to be a link, code it in instead, or make it the background of an <a> instead (though you'll have to change its display type to block)

    you shoudl also look at using CSS shorthand, as it can save you a lot of bytes
    example:
    Code:
    background-color:transparent;
    background-image:url("http://img77.imageshack.us/img77/2041/unscenebanner3to.gif");
    background-repeat:no-repeat;
    background-position:center center;
    becomes:
    Code:
    background:transparent url(http://img77.imageshack.us/img77/2041/unscenebanner3to.gif) no-repeat center center;
    Last edited by sparsely; 08-08-2005 at 04:40 PM.

    this post is guaranteed 100% parrot-free

Bookmarks

Posting Permissions

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