Drizzt79
Registered user
Registered: 10-2005
Posts: 47
Karma: 2 (+2/-0)
|
Reply | Quote
|
|
Images breaking tables
Is there a way to change board definitions or something, so that extremely large images are resized to fit the post, instead of breaking the tables? I've seen it done on other boards.
|
11/29/2019, 6:42 am
|
Link to post
Email Drizzt79
PM Drizzt79
Blog
|
Susa
Global Administrator
Registered: 07-2006
Location: Oχάιο
Posts: 4626
Karma: 128 (+137/-9)
|
Reply | Quote
|
|
Re:
Hi Drizzt79!
Try adding this to your CSS:
.postlistpostbody img { max-width: 640px; vertical-align: bottom; }
If that doesn't work, I will go get help. You can change the maximum width.
|
11/29/2019, 5:35 pm
|
Link to post
PM Susa
Blog
|
Drizzt79
Registered user
Registered: 10-2005
Posts: 47
Karma: 2 (+2/-0)
|
Reply | Quote
|
|
Re: Images breaking tables
That seems to work, thanks.
|
11/29/2019, 5:55 pm
|
Link to post
Email Drizzt79
PM Drizzt79
Blog
|
Susa
Global Administrator
Registered: 07-2006
Location: Oχάιο
Posts: 4626
Karma: 128 (+137/-9)
|
Reply | Quote
|
|
Re:
|
11/29/2019, 5:56 pm
|
Link to post
PM Susa
Blog
|
Lesigner Girl
Global Administrator
Head of Runboard staff
Registered: 11-2005
Posts: 26746
Karma: 436 (+489/-53)
|
Reply | Quote
|
|
Re: Images breaking tables
Good job, Susa!
|
11/30/2019, 6:07 am
|
Link to post
Email Lesigner Girl
PM Lesigner Girl
Blog
|
JustLis
Registered user
Registered: 08-2017
Posts: 7
Karma: 0 (+0/-0)
|
Reply | Quote
|
|
Re: Re:
quote: Susa wrote:
Hi Drizzt79!
Try adding this to your CSS:
.postlistpostbody img { max-width: 640px; vertical-align: bottom; }
If that doesn't work, I will go get help. You can change the maximum width.
Hi!
I am new to board ownership and know nothing about coding.... I added the above to the CSS, and images keep breaking the width of the board. Could you please tell me what I'm doing wrong? Our board is Time Bandits.
Thanks!
Lis
--- Lis
"Anyone who can make you believe absurdities can make you commit atrocities" -- Voltaire
|
8/22/2022, 7:24 pm
|
Link to post
Email JustLis
PM JustLis
Blog
|
Susa
Global Administrator
Registered: 07-2006
Location: Oχάιο
Posts: 4626
Karma: 128 (+137/-9)
|
Reply | Quote
|
|
Re: Images breaking tables
For this question, I am sending for help from our best coder. I am not a coder.
She will get with you soon. In the mean time, I will look over your coding and see if I see an easy fix.
|
8/22/2022, 8:24 pm
|
Link to post
PM Susa
Blog
|
Lesigner Girl
Global Administrator
Head of Runboard staff
Registered: 11-2005
Posts: 26746
Karma: 436 (+489/-53)
|
Reply | Quote
|
|
Re: Images breaking tables
Hi JustLiz,
When you go to "Change board theme/layout" and change the theme, you also need to select "Copy it to the custom layout, and switch to using the custom one", here:
I did that for you just now, so go ahead and try to add the code again, assuming you're trying to limit the width of images in posts and signatures.
|
8/22/2022, 8:42 pm
|
Link to post
Email Lesigner Girl
PM Lesigner Girl
Blog
|
Lesigner Girl
Global Administrator
Head of Runboard staff
Registered: 11-2005
Posts: 26746
Karma: 436 (+489/-53)
|
Reply | Quote
|
|
Re: Images breaking tables
I went ahead and added that CSS for you, and Susa fixed your avatar sizes.
|
8/22/2022, 11:09 pm
|
Link to post
Email Lesigner Girl
PM Lesigner Girl
Blog
|
JustLis
Registered user
Registered: 08-2017
Posts: 7
Karma: 0 (+0/-0)
|
Reply | Quote
|
|
Re: Images breaking tables
Thank you so very much!!!
--- Lis
"Anyone who can make you believe absurdities can make you commit atrocities" -- Voltaire
|
8/23/2022, 3:45 am
|
Link to post
Email JustLis
PM JustLis
Blog
|