Feather background edges in a div

Discussion in 'HTML & Website Design' started by Vcize, Sep 4, 2010.

  1. #1
    I am running a wordpress theme and am attempting to feather the background color of each widget.

    For example, here is the site: http://www.firesteveaddazio.com

    You can see each of the widgets have a light blue background-color css property. However, it ends abrubtly showing a hard rectangle shape. I would like the edges of that to be feathered such that the widget blends back into the normal white background.
     
    Vcize, Sep 4, 2010 IP
  2. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #2
    use this code
    
    -moz-border-radius:10px 10px 10px 10px;
    -moz-box-shadow:0 0 10px;
    padding:10px 0 20px 10px;
    
    Code (markup):
    also remove the border property
    
    border-bottom:5px solid #FAFAFA;
    
    Code (markup):
    here the output
    [​IMG]
     
    bhuthecoder, Sep 4, 2010 IP
  3. Vcize

    Vcize Member

    Messages:
    155
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Thanks bhuthecoder! That worked great in firefox, however it had no effect in IE. What do I need to do to get it working in IE?
     
    Vcize, Sep 4, 2010 IP
  4. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #4
    IE is not a modern browser and it can't be done using CSS.
     
    drhowarddrfine, Sep 5, 2010 IP
  5. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #5
    border-radius is not feather.

    Google for IECSS3 fix for those border-radius effects.

    Good luck
     
    CSM, Sep 5, 2010 IP