Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Position: absolute left not responding.

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #42471
    Dext3r
    Participant

    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.

    #123303
    Dext3r
    Participant

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

    #123306
    chrisburton
    Participant

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

    #123309
    Dext3r
    Participant

    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.

    #123310
    theacefes
    Member

    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);
    }

    #123315
    chrisburton
    Participant

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

    #123322
    theacefes
    Member

    @chrisburton Ah, cool then.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.