News:

Wondering if this will always be free?  See why free is better.

Main Menu

Size of inline Image/Text

Started by colby2152, November 02, 2011, 10:34:25 AM

Previous topic - Next topic

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?
ProFSL.com - Pro Fantasy Sports Leagues - Advanced fantasy sports leagues, contests, free chances at cash/prizes, and sports discussion.

Need a server? I am happy to advocate this hosting solution - hands on customer service and reliability is relieving!!!

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.

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:

size: 80%;

within the DIV CSS code
ProFSL.com - Pro Fantasy Sports Leagues - Advanced fantasy sports leagues, contests, free chances at cash/prizes, and sports discussion.

Need a server? I am happy to advocate this hosting solution - hands on customer service and reliability is relieving!!!

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 ?

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.
ProFSL.com - Pro Fantasy Sports Leagues - Advanced fantasy sports leagues, contests, free chances at cash/prizes, and sports discussion.

Need a server? I am happy to advocate this hosting solution - hands on customer service and reliability is relieving!!!

Spaceman-Spiff

If you want to resize, you can use max-width and max-height properties in CSS.

Otherwise for cropping, there are methods like setting it as a background image.

Advertisement: