The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Postbody smiley selector

View previous topic View next topic Go down

Solved Postbody smiley selector

Post by Tonight on October 24th 2014, 11:44 pm

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

Tonight
Forumember

Male Posts : 241
Reputation : 63
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Postbody smiley selector

Post by _Twisted_Mods_ on October 25th 2014, 12:22 am

you can try these

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

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Postbody smiley selector

Post by Tonight on October 27th 2014, 9:36 pm

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

Tonight
Forumember

Male Posts : 241
Reputation : 63
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Postbody smiley selector

Post by Ange Tuteur on October 27th 2014, 10:02 pm

Hello Tonight,

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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Postbody smiley selector

Post by Tonight on October 27th 2014, 10:10 pm

@Ange Tuteur wrote:Hello Tonight,

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

Tonight
Forumember

Male Posts : 241
Reputation : 63
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Postbody smiley selector

Post by Ange Tuteur on October 27th 2014, 10:23 pm

You're welcome Smile

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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