inherit
234333
0
Aug 1, 2017 19:26:58 GMT -8
Rileykins
10
July 2016
rileykinsx
|
Post by Rileykins on Apr 29, 2017 16:13:48 GMT -8
Hello!
This is probably super simple, but I'm clearly not grabbing onto it properly =/ Can someone help me put a colorred border around an image without having to just do it in Photoshop?
On my testing forum I have this as my base code:
[div style="border:50px;padding:10px;color:#000000;"][div align="center"][img src="https://68.media.tumblr.com/aacc4c035b9e1ad99764f907a0029807/tumblr_ogew2mgpKY1rcjq6vo1_540.png" style="max-width:35%;" alt=" "][/div][/div] I just want a thick border around the image I plan on posting, and while I'm getting the "padding" effect (theres a clear space where the padding has gone around the image) I'm not seeing any colour with it. Is it just me or am I missing something? Thanks!
|
|
inherit
187476
0
May 18, 2020 16:00:31 GMT -8
Star's Legacy
1,019
December 2012
starshinelegacy
|
Post by Star's Legacy on Apr 29, 2017 20:36:48 GMT -8
You border tag needs to be formatted like this: border:#ddd 8px solid;
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Apr 29, 2017 21:17:46 GMT -8
If you want the border snug around your image, add it to your img tag:
[img style="max-width:35%;border:50px solid #00000;" alt=" " src="https://68.media.tumblr.com/aacc4c035b9e1ad99764f907a0029807/tumblr_ogew2mgpKY1rcjq6vo1_540.png"]
|
|
inherit
234333
0
Aug 1, 2017 19:26:58 GMT -8
Rileykins
10
July 2016
rileykinsx
|
Post by Rileykins on Apr 29, 2017 22:26:21 GMT -8
Ah! Thanks so much; Star's Legacy that's exactly what I needed! Thanks Tumbleweed too! I appreciate it :) Resolved, thanks again!
|
|