Forums

Background Image not work on form

sidus 19 Aug, 2011
I created a form that display some infos from a DB with the "profile page" plugin, infos are ok but I have a big problem: i can't add a background image on the form :\
Hope you can help me, thank you anyway..
GreyHead 19 Aug, 2011
Hi sidus,

How are you trying to add it?

Please post a link to the form so I can take a quick look.

Bob
sidus 19 Aug, 2011
I tried
<body background="DoDiCo\pag2.jpg">
or I named a div and put the attributes in CSS
or directly in html form code with css tags..
I haven't a link to give you cause my site is in local😟
sidus 19 Aug, 2011
Or
<div style="width:100%; height:100%; background-image:url(DoDiCo/pag2.jpg); background-repeat:no-repeat">
<div style="position: absolute; left: 169px; top: 252px; width: 210px; height: 20px; text-align: center;">{name}</div>
<div style="position: absolute; left: 453px; top: 250px; width: 135px; height: 19px; text-align: center;">{surname}</div>
<div style="position: absolute; left: 169px; top: 274px; width: 379px; height: 17px;">{born_place}</div>
<div style="position: absolute; left: 542px; top: 275px; width: 88px; height: 18px; text-align: center;">{born_date}</div>
<div style="position: absolute; left: 210px; top: 297px; width: 294px; height: 19px; text-align: center;">{codf}</div>
<div style="position: absolute; left: 227px; top: 316px; width: 364px; height: 18px; text-align: center;">{address}</div>
<div style="position: absolute; left: 181px; top: 338px; width: 400px; height: 20px; text-align: center;">{city}</div>

</div>

This work in pure .html file but not in Chronoforms..
GreyHead 19 Aug, 2011
H sidus,

It depends exactly where the image is but you probably need a full url there.
http://mydomain.com/images/DoDiCo/pag2.jpg


Bob
This topic is locked and no more replies can be posted.