Grow your CSS skills. Land your dream job.

Position: absolute left not responding.

  • # February 4, 2013 at 1:43 pm

    Hello Css Tricks, need some help.
    Not the strongest fella when it comes to jquery im decent at css.

    I downloaded “Anything slider” yesterday and have restyled it.
    I need to position some numbers but Left just isnt responding.

    Code

    1

    Css
    #text1
    {
    z-index:100;
    font-size:34px;
    position:absolute;
    color:#979797;
    font-weight:bold;
    left:100;
    top:158px;
    margin:0;
    font-family: ‘BebasRegular’;
    color: rgba(0,0,0,0.6);
    text-shadow: 2px 2px 3px rgba(255,255,255,0.1);
    }

    I need to position the numbers inside the slider index.

    # February 4, 2013 at 1:46 pm

    i apologize for the dobbelt post, can someone delete this thank you.

    # February 4, 2013 at 2:00 pm

    @Dext3r Try `left: 100px;` (you’re missing the “px” after the numeric value).

    # February 4, 2013 at 2:21 pm

    I’ve been to focused on everything else that i didnt notice i missed “px”
    Sometimes you just need a pair of extra eyes thanks @chrisburton.

    # February 4, 2013 at 2:32 pm

    If the way the code you posted is also formatted like that in your CSS, I would recommend breaking it up so that you have one property per line. Makes it easier to spot mistakes. :)

    #text1 {
    z-index:100;
    font-size:34px;
    position:absolute;
    color:#979797;
    font-weight:bold;
    left:100px;
    top:158px;
    margin:0;
    font-family: ‘BebasRegular’;
    color: rgba(0,0,0,0.6);
    text-shadow: 2px 2px 3px rgba(255,255,255,0.1);
    }

    # February 4, 2013 at 3:10 pm

    @theacefes The code he provided was not formatted correctly since this site uses markdown.

    # February 4, 2013 at 4:48 pm

    @chrisburton Ah, cool then.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".