Jump to content


Photo
- - - - -

Box CSS style not working


  • Please log in to reply
2 replies to this topic

#1 hopeofglory

hopeofglory

    Super Member

  • Members
  • 108 posts

Posted 24 June 2012 - 07:59 AM

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

#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16376 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 24 June 2012 - 10:48 AM

Hi,

The code above is not correct, the

Please Login or Register to see this Hidden Content

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:

Please Login or Register to see this Hidden Content


You can even remove the body { } if you like.
  • Jason M likes this

#3 hopeofglory

hopeofglory

    Super Member

  • Members
  • 108 posts

Posted 24 June 2012 - 04:17 PM

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