Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Drop Shadows (css)

    Hello, I'm new to this forum

    I want to create drop shadows just like in this tutorial: http://www.alistapart.com/articles/cssdrop2/
    My webpage is here: http://www.medicalhouse.be/index2.php

    If you compare the sources of both pages, you can see they're identical, but as you can see the image (catfloor) doesn't contain any shadow, while on the tut page it does!

    What did I oversee?

  • #2
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I forgot to adapt the links to the shadow images (../img instead of img)
    Now the shadows are displayed in IE but not in Firefox!

  • #3
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    FF2 here, it's showing the shadow for me.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #4
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Ditto

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #5
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, now you should see it also in FF indeed
    BUT there's a little (white) space between the photo and the shadow in FF, not in IE
    I changed the padding, but a better solution would be welcome. Why is it ok on the tutorial page for all browsers?
    Last edited by Splinter; 12-23-2006 at 01:10 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •