I want to do a border-radius with box shadow and it doesn't work, why?

This should be simple but it's not working and I don't know why. I think the problem is in the html.
I simply want to have a div with an image inside that is circular and has an inset shadow and is centered on the page.
/*here is my css*/
#div3 {
-webkit-margin:25px auto;
-webkit-border-radius:50%;
.box-shad{
-webkit-box-shadow: 15px 15px 15px #8 inset;
<!-- here is my html -->
<body>
  <div class="gridContainer clearfix">
  <div id="div3" class="fluid"><div class="box-shad"><a href="index.html"><img src="images/Big-tree-trans1.png" width="900" height="700" alt=""/></a></div>
  </div>
</body>
Here is my website: www.adjacentdimensionsmedia.com

I want a different drop shadowed image on each page. Is there a way to do that?
Sure.  Copy & paste the following code into a new, blank document.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 Document</title>
<style>
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
img {
    max-width: 100%;
    vertical-align: baseline
body { background: #069 }
header, footer {
    clear: both;
    width: 100%;
    padding: 0 2%;
    background: #CCC;
    color: #000;
    min-height: 50px
article {
    clear: both;
    width: 75%;
    min-height: 600px;
    padding: 0 2%;
    background: #FFF;
    color: #069;
    margin: 0 auto;
.shadow img { box-shadow: 1px 3px 5px #333 }
.radius img {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
.border img { border: 20px solid #069 }
.center {
    text-align: center;
    margin: 0 auto
</style>
</head>
<body>
<header>Header</header>
<article> <h1>Main content area</h1>
<div class="shadow radius border center">
<!--INSERT YOUR UNIQUE IMAGE BELOW-->
<img src="http://placehold.it/500x325.jpg"> </div>
<h3>Heading 3</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
<p> </p>
<h3>Heading 3</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
</article>
<footer>Footer</footer>
</body>
</html>
Nancy O.

Similar Messages

  • I am trying to use livetype with persian alphabet and it doesn't work. what should I do?

    I am trying to use livetype with persian alphabet and it doesn't work. what should I do?

    There is no more LiveType with Motion 5.  You may want to go to the Final Cut Express forum, as that's the only place it's existed for the last few years.

  • Hello. I recently bought an Iphone 5S. I tried to charge it with the original charger that came with the phone and it doesn´t work...The cable is good, I´m charging the phone via my PC. I read many answers posted here but no one helped me. Thanks in

    Hello. I have a new Iphone 5S and the charger taht came with the phone doesn´t charge my Iphone. The cable is good because I´m charging the phone via my PC. I tried every recomendation posted here but none helped me...I live in Argentina and we don´t have local support here, I would´ve ask for a new one but it´s not an option here. Does anyone know what can I do? Thanks in advance. Regards.

    I live in China as well and my iPhone5s is the model A1530 I bougth outside China. I have the same problem as Nikatnight with the iPhone while the iPad Air (wifi only) is working like a charm. It must be definitely something related to the carrier since I was abroad few days ago and everything worked well.
    If you pay attention at the source of your maps, you'll discover they are provided by AutoNavi instead of TomTom and make them appear in chinese with their own border interpretation. Queries are only acceppted in Chinese (p.e. if I type in english "Los Angeles International Airport"  it replies it cannot locate it)
    I suppose everything will be fine when you'll be out of censorship....
    Perhaps iOS  Apple Maps are absolutely useless for expatriate in China.
    Use Google Maps instead
    BTW, I'm surprised how much Apple might prostrate towards hard power Governments.... No matter what, money are always on top!

  • HT201210 I did everything to deal with "error 21" and still doesn't work.

    My iphone still with the image in front "connect to itunes". I dont know why, because I did everything about the resolution of "error 21". Please somebody help me to deal with it.

    http://support.apple.com/kb/TS3694  since you have tried everything.  The link states that it could be a hardware problem and may require service.  So you will need to make an appointment with Apple and take your phone in and have the Genius Bar take a look at it.

  • I have a MBP with retina display and my trackpad doesnt work, why does this happen?

    the problem was suppost to be fix by an update but it was not, my mouse doesnt work after i put my computer to sleep and turn it on again. Its like it doesnt wakes up with the computer

    MBPr's are very recent machines.  The oldest ones are from this past summer.  Mine has a quad-core i7 2.6 GHz and 16 GB of RAM, and a NVIDIA GeForce GT 650M with 1GB of GDDR5, along with the Retina display.  This is more than enough system power to display HD movies, per the article you reference unhelpfully.
    http://www.apple.com/macbook-pro/specs-retina/

  • To update my os they want a passcode . I tried my apple password and it doesn't work  what do they want

    I do not remember useing a passcode to access apple updates to my Ipad  I tried my itunes password but it does not work. Where do I find my passcode?

    it's your appleID password
    https://appleid.apple.com

  • Want to create a user field with type alphanmumeric and structure text through coding

    i want to create a user field with type alphanumeric and structure text through coding.am using vb
    plz help me

    Hi.
    Please take a look at samples in SAP B1 SDK.
    Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
    oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
    ' Adding "Name" field
    '// Setting the Field's properties
    oUserFieldsMD.TableName = #YOUR_TABLE_NAME#
    oUserFieldsMD.Name = "Name"
    oUserFieldsMD.Description = "Name"
    oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
    oUserFieldsMD.EditSize = #LENGTH_OF_FIELD#
    '// Adding the Field to the Table
    lRetCode = oUserFieldsMD.Add
    GC.Collect() 'Release the handle to the User Fields
    Hope it helps.
    Regards,
    Pawel

  • I want to get a macbook air with a 4gb and a 125 memory hard drive is it okay to use it with premiere.

    i want to get a macbook air with a 4gb and a 125 memory hard drive is it okay to use it with premiere

    Hi Mayelita521,
    Some have had success with light projects with the MacBook Air. Check out this article: WalterBiscardi.com | Yes Virginia, You Can Edit Video with a MacBook Air
    I'd love to have one for small personal projects.
    Thanks,
    Kevin

  • My ical is not populating after i reinstalled my operating system - my Outlook 2011 is ok but I now want to sink my iphone 4 with my outlook and i presume i need ical to be populated for this

    My ical is not populating after i reinstalled my operating system - my Outlook 2011 is ok but I now want to sink my iphone 4 with my outlook and i presume i need ical to be populated for this

    Generally this is a sign that the iPhone had previously been
    hacked/modified/jailbroken and the update relocked it to the
    original wireless carrier. If this is the case, only that wireless
    carrier can unlock your iPhone. You must contact them to see
    if they offer unlocking and if you qualify.
    Where did you acquire this iPhone?
    What wireless carrier did you use before this problem?
    Does the app Cydia appear on your iPhone?
    What does it say when you look at Settings=>General=>About=>Carrier?

  • My iPad updated and wants a security code. I tried the one from my phone and it doesn't work - I never entered a security code. How can I get in now?

    ?My iPad updated and now wants a security code for access and I never gave it one. I tried code I used for my phone and it doesn't work. How can I access now?

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • I tried to airdrop Civilization V from a Macbook Pro with Mountain Lion to a Macbook Pro with Lion and it doesn't work. Other apps have but Civ V has not.

    I tried to airdrop Civilization V from a Macbook Pro with Mountain Lion to a Macbook Pro with Lion and it doesn't work. Other apps have but Civ V has not.

    Likely because it's a not self contained and/or it's game and copy protected, so install it via the developers instructions instead, which likely means it will have ot be uninstalled off the first machine, the developer contacted for a new license key before installing on the newer machine.
    If you want it on both machines, you will need to likely buy another license.
    Most developers are fine with transfering license between machines, you have to contact them.
    They just want to make sure it's only on one machine so they are not getting robbed.

  • I have ipad with IOS 7,  Some apps doesn' t work, safari not open some web site. What can I do?

    I have ipad with IOS 7,  Some apps doesn' t work, safari not open some web site. What can I do?

    Try this and see if it helps.
    Settings>Safari>Clear cookies and data.
    Now close Safari completely. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then "swipe up" or "drag up" on the app preview thumbnail to close it.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Hi, I am wondering why my iphone won't send pictures through messages, I have MMS on and I have tried sending it with 3G on aswell and still doesn't work. Someone please help me :)

    Hi, I am wondering why my iphone won't send pictures through messages, I have MMS on and I have tried sending it with 3G on aswell and still doesn't work. Someone please help me :)

    Hey lozza567,
    Thanks for the question. I understand that you are experiencing issues sending MMS messages. The following resource may provide a solution:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Issues with sending and receiving MMS
    You will need these to send and receive MMS:
    - An iPhone 3G or later.
    - iOS 3.1 or later.
    - A cellular data connection. MMS isn't available if you are using only Wi-Fi.
    - A domestic MMS plan from your cellular provider. You may need an international messaging plan to send MMS to an international contact. Contact your carrier for more information.
    - A roaming MMS when using a cellular provider's network different from your billing cellular provider's network. Learn more about roaming and contact your carrier for more information.
    To resolve issues with sending and receiving MMS, follow these steps first
    1. Go to Settings and turn airplane mode off.
    2. Go to Settings > Messages and turn MMS Messaging on.
    3. Go to Settings > Cellular and turn Cellular Data on.
    4. Go to Settings > Cellular and turn Data Roaming on if you are roaming on a cellular provider network different from your billing provider's network.
    5. Verify that you have a cellular data connection in the status bar at the top left of your iPhone.
    6. Go to Settings and turn Wi-Fi off. Open Safari and navigate to www.apple.com to verify that you have a data connection. Turn Wi-Fi back on to continue using Wi-Fi for other features. If your cellular data connection isn't available, follow these steps.
    7. Verify that you can send and receive SMS. If you are unable to send and receive SMS, see the "Issues with sending and receiving SMS" section, above.
    8. MMS may not be available while on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn more about which network your phone supports.
    9. Restart your iPhone.
    10. Tap Settings > General > Reset > Reset Network Settings on your iPhone.
    11. Reseat your SIM card.
    If you are still unable to send or receive MMS, follow these steps
    1. Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
    2. Go to Settings > Messages and turn on group messaging if you are sending a group message.
    3. Make sure that you are using the area code with the contact's phone number. When sending messages internationally, you also need the contact's international code.
    4. Verify a "Pay as you go" MMS plan has enough available balance. Contact your carrier if unsure of your MMS plan or available balance.
    5. If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    6. If the issue occurs with a specific contact or contacts, delete and re-create the contact from the Contacts application. Create a new message to the newly created contact and try again.
    7. Back up and restore your iPhone as new.
    8. If your carrier has recently ported your phone number, the porting process may not be complete. Contact your carrier to confirm that the porting process is complete.
    9. Contact your carrier to verify that you are provisioned to send SMS and are in an area with cellular coverage.
    10. Contact your carrier to verify that there are no blocks or filters placed on your wireless account preventing you from sending SMS.
    11. Your carrier may require APN settings to be modified to use MMS. Learn more about when you should adjust APN settings.
    Thanks,
    Matt M.

  • MY IPOD APPEARS TO BE ZOOMED INTO THE SCREEN AT ALL TIMES, MAKING IT DIFFICULT TO DO SIMPLE TASKS SUCH AS GO BACK, OR SELECT A PLAYLIST, ETC. I'VE TRIED PULLING IT OUT WITH MY FINGERS BUT THAT DOESN'T WORK. PLEASE CAN YOU HELP!!! THANKS.

    I've got a touch iPod and for about a week now it's almost been permenently zoomed into the screen? I actually cannot get it to zoom back out. I've tried pulling the screen out with my fingers but that doesn't work. It's zoomed in on my home pages, on my music, settings everything! It makes simple things like deleting a number from my password login extreamly differcult. Please can someone help?!?! Thanks.

    Double tap the screen with three fingers to un-zoom.
    Then go to Settings > General > Accessibility > Zoom and turn this OFF.

  • Opening files with Illustrator and photoshop doesn't work, i have to drag the files from finder in to the program. This problem appears after opening 4 a 5 files.

    Opening files with Illustrator and photoshop doesn't work, i have to drag the files from finder in to the program.
    This problem appears after opening 4 a 5 files, rebooting helps another 4 a 5 times and appears again.

    I'd recommend reposting in the Boot Camp forum, that is where the Boot Camp and Windows gurus hang out.
    Good luck.

Maybe you are looking for

  • Can't sync apps to 1st gen ipod touch

    I have a 1st gen ipod touch and can no longer sync apps. My itunes says that the software is not compatible even though i have the latest updates. Is this a lost cause or can i fix it. Apps I have previously had will no longer sync either HELP

  • Display mutiple columns in a drop down

    Has anyone found a way to display multiple columns in a drop down field? For example, I want to populate my drop down with an ID type field and associated DESCRIPTION1, DESCRIPTION2, DESCRIPTION3 and DESCRIPTION4 fields: 10100101 EXTERNAL COMBUSTION

  • Same udf distribution to all user

    hi,      I have around 200 udf's in item master data which i arranged according to category in right side of item master(Table CUDC) like general,others,accessories etc for manger user.Now i creating new user is it possible that all the udf setting a

  • Obtaining root directory of web application

    Hi all. I am beginer in web application developing. You probably know how it is. Problem after problem:) So I started developing in JSF using NetBeans 6.0 with Tomcat 6.0.14 and i have the folowing problem: How can I programically get the root direct

  • Large OPMN header vs. Small ORMI header.

    We are developing an application using OC4J. We used to just use a lightweight OC4J container with ORMI. The problem then was that each time the server was restarted; we had to adjust the port number our client used. I addition, creating new OC4J con