Jump to content
Sign in to follow this  
hopeofglory

Box CSS style not working

Recommended Posts

hopeofglory    0
hopeofglory

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
Danny    1,327
Danny
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.
  • Like 1

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
hopeofglory    0
hopeofglory
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  

×