asp.net - Background image issues in a HTML5 emitted by MVC4 application -


i working on mvc4 application , trying put background image url element laying on masterpage file '_layout.cshtml' failed, not able see background image @ .my image located in

images-> master -> test.bmp

i put backgroundimage shown below

<body>  <header style="background-image:url(../images/master/test.bmp);position: relative; top: -20px;width:100% "> </header> </bpdy> 

can body suggest me went wrong here?

is there syntax issue? or background image not working in mvc4 html5 @

update

i created html page , copied contents , in design view can see image.now wonder going wrong on there

update

i set height , coming ,but issue is not coming in iis,when run in visual studio development server working fine.what reason guess?

finally found solution @url.content(~path image) fix kinds of issues


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -