PDA

View Full Version : edit css background for 1 template


Murty
08-25-2006, 04:15 PM
hey guys,
i want users to be able to put in a link to a picture, and it will come up as the background picture for their user profile. But i cant get it to work properly.

The closest i have been able to get it is using this bita code at the start of my MEMBERINFO template:

<if condition="$userinfo[field25]">
<style type="text/css">
.page
{
background-image:url($userinfo[field25]);
}
</style>
<else />
$headinclude
</if>

And it looks damn dodgy. It displays the image, but takes out all the tables i have and what not. Ultimately i want users to be able to enter in colours and images they want for their user profile layout, but i have very little idea about how :surprised:.

Any help would be cool.
thanks