EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: shivavalkyre on August 27, 2018, 07:46:15 PM



Title: Background image in layout 'center'
Post by: shivavalkyre on August 27, 2018, 07:46:15 PM
hi, please help

for set background image in layout i tried this code:

$('#vw_center').css('background',url('img/banner.jpg'));

Thanks


Title: Re: Background image in layout 'center'
Post by: jarry on August 27, 2018, 11:56:56 PM
Please call this line instead.
Code:
$('#vw_center').css('background','url(img/banner.jpg)');