Question how to Set background image in masterpage with repeat yes

mazez1971

Member
Joined
Dec 23, 2009
Messages
13
Programming Experience
Beginner
can’t Set background image in masterpage with repeat yes. The image is breaking. i want the image with 100% width and 100% height in the background


<body id="Body1" runat="server" style="background-image: url('imgBackThemeHomePage.jpeg'); background-repeat: repeat;">
<form id="form1" runat="server">
</form>
</body>
 
Works fine for me, although I set my body style via a separate css stylesheet... try it that way.

--edit-- just tried it inline as you have and that works fine too, so it's highly likely something wrong with your setup... have you inspected the markup from within your browser to see what's going on at render time?
 
Last edited:
Back
Top