MyBB Community Forums

Full Version: background-image url > turning into some weird code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings again,
Whenever I try to do the following


<div style="background-image: url(https://img15.hostingpics.net/pics/173076bgmain.png); width:455px; height:auto; position:relative; background-color:red; text-align:justify;">

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam suscipit, lorem nec varius tristique, mi orci pulvinar tellus, nec aliquet leo leo quis tortor. Maecenas vitae pharetra odio.


It ends up like this


https://img15.hostingpics.net/pics/173076bgmain.png); width:455px; height:auto; position:relative; background-color:red; text-align:justify;">

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam suscipit, lorem nec varius tristique, mi orci pulvinar tellus, nec aliquet leo leo quis tortor. Maecenas vitae pharetra odio 



I checked the MyCodes, and nothing seems to be linked to this issue.
Any idea ? /:

Thanks.
Hi,

you forgot the quotes in the url:


<div style="background-image: url("https://img15.hostingpics.net/pics/173076bgmain.png"); width:455px; height:auto; position:relative; background-color:red; text-align:justify;">
I think I've never felt more stupid than now in my whole life. Thanks NoRules.