Smileys Smileys
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Smileys

Started by ziolko, November 22, 2003, 08:30:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ziolko

Hello.

Ive changed smileys to non standard, some of them are not 15x15 images, but they are displayed as 15x15 and it sux.
Actually Im trying to modify smileys.inc.php
Quote<td width="5%"><a href="javascript:emoticon_' . $form . '(\'' . $smiley[0] . '\')"><img src="images/smiles/' . $smiley[1] . '" alt="' . $caption . '" width="15" height="15" border="0" title="' . $caption . '"></a></td>
When I change width and height to "100%" smileys are not displayed at all.
Anybody knows how to fix it ?

--
Sorry for my English.

ziolko

:D  Problem solved by deleting "width=" "height="

Joachim Müller

width and height attributes in <img>-tags can never be "%", they're always numbers (in pixels). You can only specify % values in tables (and in fact some other html tags as well). If your smileys are all the same size, you should have the width and height attributes, makes your page look nicer during loading (and is more standards compliant as well).
[This statement does of course not only apply to coppermine, as it's html-related]

GauGau

LeaX

And what if they'are of different size? (though not big at all - about 21*20, 23*20, 26*20?
So what should I do to make each of them look good?

LeaX

Oh I've got it so no need to explain.

LeaX

Though here it is a very good pack of mini smiles for a gallery.
They're really cool.
I wish they were here in this forum.

François Keller

@leaX
your posts have nothin to do with this very old post.
Please next time post in the right board.
locking this thread
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog