General Community > HTML/CSS

Size of inline Image/Text

(1/2) > >>

colby2152:
I want to decrease the size of images and text in a line within a DIV.  For instance, say the font size is 2pt and the image height is 25px.  I want to have a setting that decreases these by X%, so that the height of a line is 80% of what it was without cutting any text/images.  Does that make sense?

Ricky.:
You can do html image resizing, ie. you can set <img src="abcde" width="xx"> it will according resize height without cropping image.
However, if you can give us your code as example then we can suggest you later.

colby2152:

--- Quote from: Ricky. on November 02, 2011, 10:39:43 AM ---You can do html image resizing, ie. you can set <img src="abcde" width="xx"> it will according resize height without cropping image.
However, if you can give us your code as example then we can suggest you later.

--- End quote ---

I don't want to resize an image within HTML.  It is actually BBC smiley code within profile fields above signatures that I want to have the ability to have a master control in limiting how tall they are.  Having the ability to skew the images and text done by a certain percentage would be helpful.  I can do this within the CSS, but I am hoping someone has a quick suggestion such as:


--- Code: ---size: 80%;
--- End code ---

within the DIV CSS code

Ricky.:
Well, you mean you don't want members to use fonts in sig below certain side.. kind of little unclear or you want to resize font size along with windows resize ?

colby2152:

--- Quote from: Ricky. on November 02, 2011, 03:35:18 PM ---Well, you mean you don't want members to use fonts in sig below certain side.. kind of little unclear or you want to resize font size along with windows resize ?

--- End quote ---

These profile fields are ones that an admin group control.  I have them set with font size equal two.  Many of the images (controled by BBC smiley input) have height equalling 25 pixels.  I feel like that is too large and want to decrease the total size of the font and image combo without editing images.

Navigation

[0] Message Index

[#] Next page

Go to full version