You are either not logged in or not registered with our community. Click here to register.
 
April 17, 2021, 02:30:12 am

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Platinum Send us your theme!

Wiki Blogs Dicebot

Author Topic: Adding padding to images when using float left/right?  (Read 557 times)

0 Members and 1 Guest are viewing this topic.

Offline DallasTopic starter

  • World-Building Enthusiast, Dramatic Smut and Plot Weaver, Friend to All; Doors Always Open
  • Knight
  • Enchanter
  • *
  • Join Date: Oct 2013
  • Location: Houston, TX (U.S.)
  • Gender: Male
  • I roleplay with new members, too! Hit me up!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 2
Adding padding to images when using float left/right?
« on: December 04, 2019, 09:46:07 pm »
Can I do this? If so, how? When floating left or right, text looks a bit close to the images.

Offline Ariel

Re: Adding padding to images when using float left/right?
« Reply #1 on: December 04, 2019, 09:48:47 pm »
Yes you can! Just add padding=# inside of the [ img] tags.

Does that make sense?

Offline Ket

Re: Adding padding to images when using float left/right?
« Reply #2 on: December 04, 2019, 10:32:16 pm »
Code: [Select]
[img padding=#]imageurlhere[/img]

5 or 10 (pixels) is a nice padding number and will pad both to the side and bottom of the image.

Offline DallasTopic starter

  • World-Building Enthusiast, Dramatic Smut and Plot Weaver, Friend to All; Doors Always Open
  • Knight
  • Enchanter
  • *
  • Join Date: Oct 2013
  • Location: Houston, TX (U.S.)
  • Gender: Male
  • I roleplay with new members, too! Hit me up!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 2
Re: Adding padding to images when using float left/right?
« Reply #3 on: December 04, 2019, 10:38:38 pm »
Ah, nice. What if I am already using 'img height=', though?

Online Lexandria

Re: Adding padding to images when using float left/right?
« Reply #4 on: December 04, 2019, 10:40:08 pm »
Ah, nice. What if I am already using 'img height=', though?

You just list it after, as so:

Code: [Select]
[img height=300 padding=5][/img]

Offline DallasTopic starter

  • World-Building Enthusiast, Dramatic Smut and Plot Weaver, Friend to All; Doors Always Open
  • Knight
  • Enchanter
  • *
  • Join Date: Oct 2013
  • Location: Houston, TX (U.S.)
  • Gender: Male
  • I roleplay with new members, too! Hit me up!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 2
Re: Adding padding to images when using float left/right?
« Reply #5 on: December 04, 2019, 11:44:23 pm »
Ah, cool! Thanks! Been trying to make character bios stylish but the text hugging the images too much was bugging me. This should help bunches. :)