The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

multiple user in one code?

3 posters

Go down

Solved multiple user in one code?

Post by BetterHax April 10th 2013, 8:06 am

its possible to make multiple "/u1" in one code like this..

Code:
#chatbox a[href="/u1"]{
    padding-left: 25px;
    background: url(http://i676.photobucket.com/albums/vv125/cedricyuki/crown1_zpsccfb9606.png) no-repeat left;}

example a[href="/u1 , u2 , u3"]


Last edited by BetterHax on April 11th 2013, 3:55 pm; edited 1 time in total
avatar
BetterHax
Forumember

Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines

Back to top Go down

Solved Re: multiple user in one code?

Post by E-Mark April 10th 2013, 8:15 am

Give this a try:
Code:
a[href="/u1"], a[href="/u2"]{
    padding-left: 25px;
    background: url(http://i676.photobucket.com/albums/vv125/cedricyuki/crown1_zpsccfb9606.png) no-repeat left;
}

Just add a ',' symbol after the a[href].
E-Mark
E-Mark
Active Poster

Male Posts : 1411
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: multiple user in one code?

Post by BetterHax April 10th 2013, 8:25 am

i just need to add this code?

Code:
, a[href="/u2"]
avatar
BetterHax
Forumember

Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines

Back to top Go down

Solved Re: multiple user in one code?

Post by E-Mark April 10th 2013, 8:26 am

Yes Smile.
Then change the /u2 to the url of the user you want to put it with.
E-Mark
E-Mark
Active Poster

Male Posts : 1411
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: multiple user in one code?

Post by BetterHax April 11th 2013, 3:54 pm

thanks its solve now
avatar
BetterHax
Forumember

Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines

Back to top Go down

Solved Re: multiple user in one code?

Post by Sanket April 11th 2013, 4:17 pm

Topic Solved & Locked
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum