Postbody smiley selector

Go down

Solved Postbody smiley selector

Post by Tonight on Fri 24 Oct 2014 - 23:44

What is the selector for smileys? I don't want to affect other images.

Right now I'm using:

Code:
.postbody div img {
 position:relative;
top:3px;
}
avatar
Tonight
Forumember

Male Posts : 272
Reputation : 77
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Postbody smiley selector

Post by _Twisted_Mods_ on Sat 25 Oct 2014 - 0:22

you can try these

Code:
img[src="small.gif"]
img[alt~="small"]
img[title|="small"]

Code:
img[alt~="silent"]{
 position:relative;
top:3px;
}
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Postbody smiley selector

Post by Tonight on Mon 27 Oct 2014 - 21:36

So basically, there is no main selector for all smileys? Only for each one?
avatar
Tonight
Forumember

Male Posts : 272
Reputation : 77
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Postbody smiley selector

Post by Ange Tuteur on Mon 27 Oct 2014 - 22:02

Hello Tonight,

See if this works for smilies :
Code:
img[longdesc] { background:red }
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Postbody smiley selector

Post by Tonight on Mon 27 Oct 2014 - 22:10

@Ange Tuteur wrote:Hello Tonight,

See if this works for smilies :
Code:
img[longdesc] { background:red }
Yes, it worked. Thanks, solved! Smile
avatar
Tonight
Forumember

Male Posts : 272
Reputation : 77
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Postbody smiley selector

Post by Ange Tuteur on Mon 27 Oct 2014 - 22:23

You're welcome Smile

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


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