- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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.
i apologize for the dobbelt post, can someone delete this thank you.
@Dext3r Try `left: 100px;` (you’re missing the “px” after the numeric value).
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.
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);
}
@theacefes The code he provided was not formatted correctly since this site uses markdown.
@chrisburton Ah, cool then.