Jump to content

Welcome to Rune Tips, the first ever RuneScape help site. We aim to offer skill guides, quest guides, maps, calculators, informative databases, tips, and much more to help you get the most from the Massive Online Adventure Game, RuneScape, by Jagex Ltd © 2009.

Report Ad

Welcome to Forum.Tip.It
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

CSS Border shadow


  • Please log in to reply
2 replies to this topic

#1
Mercifull
[ Display Name History ]

Mercifull

    Post Junkie

  • Members
  • 16,130 posts
  • Gender:Male
  • Location:In a house where everything is coated in cat fur
  • Joined:18 June 2004
  • RuneScape Status:P2P
  • RSN:Mercifull
  • Clan:Tip.It
I'm getting close to launch on the new FromeFM website that I've been developing. I was staring at the box design (as in the brief) and kept thinking how flat it looked. So I've added some shadow to the boxes using CSS

Posted Image

I've used the following code to make it work in modern browsers
.box {
-webkit-box-shadow: 0 10px 6px -6px #666;
    -moz-box-shadow: 0 10px 6px -6px #666;
		 box-shadow: 0 10px 6px -6px #666;
}

However this doesn't work in old versions of Internet Explorer. I'm not fussed by IE6 or anything silly like that but it would be nice to get ti working at least in IE8

Posted Image
Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

#2
Hedgehog
[ Display Name History ]

Hedgehog

    ???

  • Monster Hunting Team Leader
  • 7,789 posts
  • Gender:Not Telling
  • Joined:18 November 2006
  • RuneScape Status:Retired
http://css3pie.com/

Your best bet.

#3
Mercifull
[ Display Name History ]

Mercifull

    Post Junkie

  • Members
  • 16,130 posts
  • Gender:Male
  • Location:In a house where everything is coated in cat fur
  • Joined:18 June 2004
  • RuneScape Status:P2P
  • RSN:Mercifull
  • Clan:Tip.It
I was hoping not to have to use another js library as it's already getting a bit bloaty but I'll give it a go and see if it affects performance. Thanks.

Posted Image
Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users