1. #1
    Ext User
    Join Date
    May 2009
    Posts
    21
    Vote Rating
    0
    akirillov is on a distinguished road

      0  

    Default Background image

    Background image


    I got a panel with background: url() css property. Is there anyway to resize image according with panel size. I mean i want image to fit panel size.

    The only one idea i got - create a lot of images with different sizes and just change css property when resizing panel. But it is absurd
    Thank you.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    In IE you could use a filter to stretch the image, but on other browsers you can't.

    Why not use a foreground image?

Thread Participants: 1