The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

border opacity not working

View previous topic View next topic Go down

Solved border opacity not working

Post by novacane. on June 2nd 2015, 3:47 pm

Technical Details

Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome, Opera
Screenshot of problem : http://i57.tinypic.com/1zplb8i.png
Who the problem concerns : Yourself
Forum link : http://midnightshadow.slovenianforum.com/

Description of problem

so i tried to make a border around my forum, which would have a lower opacity than the forum itself,
i used this code:
Code:
.bodyline {border: 5px solid rgba(255, 255, 255, .5);}
but it doesn't work, it makes a border, but it doesn't lower the opacity of it

what am i doing wrong? :/


Last edited by novacane. on June 2nd 2015, 10:05 pm; edited 1 time in total

novacane.
Forumember

Female Posts : 59
Reputation : 3
Language : english

Back to top Go down

Solved Re: border opacity not working

Post by Mike on June 2nd 2015, 7:43 pm

Instead of using the border attiribute try this instead:

Code:
box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.5)

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Solved Re: border opacity not working

Post by novacane. on June 2nd 2015, 10:05 pm

perfect, thank you  I love you it surprises me i didn't think of using box-shadow

novacane.
Forumember

Female Posts : 59
Reputation : 3
Language : english

Back to top Go down

Solved Re: border opacity not working

Post by SLGray on June 2nd 2015, 10:23 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum