Emoticon images are given a class of ‘wp-smiley’ — so you can add to your stylesheet something like:
img.wp-smiley {
float: none;
}
Thanks Kaf. I’ve never seen that class documented.
Good point. I’ll see about adding something on it to the Using Smilies doc.
i have same problem but with border css. all images use css to display border and problem smilies end up doing the same thing.is there any way to EXCLUDE the border for smilies?
i have tried something like:
.wp-smiley {
border: 0pt none;
margin: 0px;
padding: 0px;
vertical-align: middle;
}
but it doesn’t work
can someone tell me how to solve? thankyou very much
If all you’re worried about is how the smileys appear in the content of your posts, use:
.storycontent .wp-smiley {
border: 0;
}
This assumes .storycontent
is the class you use for the content of your posts.