Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Single post in Site Skins: How-To, and Helpful CSS

Forum Index > PokéFarm > Guides > Site Skins: How-To, and Helpful CSS >

Mirzam's AvatarMirzam
Mirzam's Avatar
I would do it like this. To make it smaller you can get away with only a css tag, but if you use the full sc/style you can go either bigger or smaller. "imgsize" can be anything you want, as long as it matches in both places. If you want to make different images different sizes, you'll need a different class name for each one. I went ahead and popped the display line in there so it would share a line with other images etc. You can set both width and height if you prefer, but if you set only one it will auto-set the other and thus avoid skewing the image.

Code

[sc=imgsize][pkmn=scatterbug][/sc] vs [pkmn=scatterbug] [style] .imgsize { img { width: 100px; } display: inline-block; } [/style]
vs
© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page