I have a couple of questions. I was designing a template on my site with an image hosted at imgur as the background of the div. On preview, it looked great, but every time I would actually post the template, the external url would automatically turn into bbcode and screw up my template.I turned off "automatically turn links into bbcode links", but then that screwed with another one of my mods, and I would really like to turn the links into bbcode again...
Is there any way to use a background image in a div:
1. without the link automatically turning into a click-able link
2. without uploading the background-image to my server (my members also make templates that have background images that are external links and I don't want to have to force them to upload all their background images to my server).
I suppouse your code is
[div style="background-image('http://image');"]...[/div]
Sorry but SMF parse all links (http:// ) into lick-able link You have two solutions:
1. Upload image to your server. But you can not to do this
2. Use html instead of my MOD
[html]<div style="background-image: url('http://ift.tt/1vgRJ7v');">[/html]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[html]</div>[/html]
On my forum works but not here:<div style="background-image: url('http://ift.tt/1vgRJ7v');">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</div>
0 commentaires:
Enregistrer un commentaire