rwm1962 Well-known member May 23, 2015 #1 I'm hoping someone can help me with some extra CSS to add a 1px border to all images in posts. Thanks in advance!
I'm hoping someone can help me with some extra CSS to add a 1px border to all images in posts. Thanks in advance!
AndyB Well-known member May 23, 2015 #2 Add this to your EXTRA.css template: Code: .bbCodeImage { border:thin solid #333; } Upvote 0 Downvote
rwm1962 Well-known member Jul 2, 2015 #4 Is there any way this can exclude images in signatures? Upvote 0 Downvote
D Dylan V Well-known member Jul 4, 2015 #5 rwm1962 said: Is there any way this can exclude images in signatures? Click to expand... Hi, Yes, add this in "EXTRA.css" template: Code: .signature .bbCodeImage { border: none; } Upvote 0 Downvote
rwm1962 said: Is there any way this can exclude images in signatures? Click to expand... Hi, Yes, add this in "EXTRA.css" template: Code: .signature .bbCodeImage { border: none; }
rwm1962 Well-known member Jul 9, 2015 #7 Another refinement required - can gifs be exluded? To explain - on our theme regular images in posts look better with a border. We have a lot of transparent gifs in articles & they look better without a border. Upvote 0 Downvote
Another refinement required - can gifs be exluded? To explain - on our theme regular images in posts look better with a border. We have a lot of transparent gifs in articles & they look better without a border.
creativeforge Well-known member Jul 11, 2015 #8 BTW, if you need to add padding so the border isn't against the image, you can do this: Code: .bbCodeImage { border:thin solid #333; padding: 8px; } Upvote 0 Downvote
BTW, if you need to add padding so the border isn't against the image, you can do this: Code: .bbCodeImage { border:thin solid #333; padding: 8px; }