• 0
Sign in to follow this  
Followers 0

Box CSS style not working

Question

Posted · Report post

Hi Support I added the following custom CSS to add a frame around the boxes but it only appears using firefox but not on IE, Safari body{ .fbox { background:#EBEBEB; border-radius:8px; padding-top:4px; padding-bottom:4px; box-shadow: 5px 5px 5px #ccc; min-height:180px; } } Is there a better way to achieve this? Thanks

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

Hi, The code above is not correct, the [code]body { } [/code] in the CSS Rules is just for demonstration purposes, your custom CSS doesn't go inside the brackets. Therefore you custom code should look like this: [code]body{ } .fbox { background:#EBEBEB; border-radius:8px; padding-top:4px; padding-bottom:4px; box-shadow: 5px 5px 5px #ccc; min-height:180px; } [/code] You can even remove the body { } if you like.
1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Danny you are correct, men I need to learn CSS =D>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0