Results 1 to 5 of 5

Thread: +rep for some quick CSS help?

  1. #1



    Misplay's Avatar
    Joined
    Sep 2015
    Posts
    71
    Userbars
    4
    Thanks
    25
    Thanked
    29/19
    DL/UL
    16/0
    Mentioned
    16 times
    Time Online
    5d 3h 11m
    Avg. Time Online
    2m

    +rep for some quick CSS help?

    I'm trying to get images to fade and display text when hovered over on my userlookup. I'll PM you the code I'm using, it kinda has personal info on it hahaha.

  2. #2
    kior's Avatar
    Joined
    Oct 2012
    Posts
    114
    Userbars
    14
    Thanks
    164
    Thanked
    55/41
    DL/UL
    56/0
    Mentioned
    24 times
    Time Online
    9d 18h 15m
    Avg. Time Online
    3m

  3. #3



    Misplay's Avatar
    Joined
    Sep 2015
    Posts
    71
    Userbars
    4
    Thanks
    25
    Thanked
    29/19
    DL/UL
    16/0
    Mentioned
    16 times
    Time Online
    5d 3h 11m
    Avg. Time Online
    2m
    When I say help, I mean I want someone to fix it for me because I'm so unbelievably stupid.

  4. #4
    alilquicker's Avatar
    Joined
    Jul 2015
    Posts
    69
    Userbars
    1
    Thanks
    42
    Thanked
    19/14
    Mentioned
    2 times
    Time Online
    1d 19h 11m
    Avg. Time Online
    N/A
    I haven't tried any other aspects of what you're looking for before, but I know that all attempts I've made trying to get image hovers to "fade" (transitions) get automatically erased by the user lookup filters. Fades work on pet lookups but not user lookups in my experience.

    ---------- Post added at 01:12 AM ---------- Previous post was at 12:45 AM ----------

    How about this.

    Put this within the <style> tags.
    Code:
    .thebox {
    	width: 300px;
    }
    .picture {
    	overflow: hidden;
    }
    .picture img {
    	width: 100%;
    }
    .picture span {
    	font: 10pt Tahoma;
    	color: #fff;
    	background: #333;
    	width: 85%;
    	padding: 8%;
    	height: 650px;
    	top: 0;
    	left: 0;
    	display: none;
    }
    .picture:hover span {
    	display: block;
    }
    And this would be an image with text when hovering.

    Code:
    <div class="thebox">
    <div class="picture" style="position: relative;">
    
    <img src="http://clraik.com/forum/customavatars/avatar19359_2.gif">
    
    <span style="position: absolute;">
    <p>This is where text goes.</p>
    <p>It might get cut off depending on how much text you have and how big of an image you have.</p>
    <p>The width under ".thebox" is arbitrary. You can use height instead of width if that is easier. Make sure the image is also a good size to prevent it from being blurred from stretching.</p>
    </span>
    
    </div>
    </div>
    Does that work @(you need an account to see links)
    Last edited by alilquicker; 12-09-2015 at 05:42 PM.

  5. #5



    Misplay's Avatar
    Joined
    Sep 2015
    Posts
    71
    Userbars
    4
    Thanks
    25
    Thanked
    29/19
    DL/UL
    16/0
    Mentioned
    16 times
    Time Online
    5d 3h 11m
    Avg. Time Online
    2m
    Ummmm, I'm kindof CSS retarded... If I sent you the code could you show me where more specifically and maybe tell me what I could take out because of redundancy? I've tried a couple things so there's some (i'm sure) things that would become useless. @(you need an account to see links)

    Thanks @Rrachel, you're the bomb.

Posting Permissions

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