The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

gradient post code not working

View previous topic View next topic Go down

gradient post code not working

Post by JAN2XONLINE on May 28th 2012, 7:20 pm

So I tried to do this gradient post on my forum and didn't work for me. I have phpBB2 forum.

rank title code:
Code:
<span class="admin1"> </span>

java code:
Code:
$(function() {
$('tr.post:has(".admin1") td').css('background',' #fff'
url(http://i47.servimg.com/u/f47/16/97/26/79/butto212.png) repeat y');
});

please correct the code for me if its not right. thank you!


Last edited by JAN2XONLINE on May 28th 2012, 7:25 pm; edited 1 time in total

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Re: gradient post code not working

Post by Akkii on May 28th 2012, 7:24 pm

Code:
$(function() {
$('tr.post:has(".admin1") td').css('background','#fff url(http://i47.servimg.com/u/f47/16/97/26/79/butto212.png) repeat-y');
});

Code:
<span class="admin1">RANK TITLE HERE</span>

Akkii
Forumember

Male Posts : 710
Reputation : 107
Language : English,HTML, CSS,Photoshop,Javascript!
Location : Here on Forumotion!

http://www.csshelp.net

Back to top Go down

Re: gradient post code not working

Post by JAN2XONLINE on May 28th 2012, 7:28 pm

@Akkii wrote:
Code:
$(function() {
$('tr.post:has(".admin1") td').css('background','#fff url(http://i47.servimg.com/u/f47/16/97/26/79/butto212.png) repeat-y');
});

Code:
<span class="admin1">RANK TITLE HERE</span>

still not working sir.


JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Re: gradient post code not working

Post by Akkii on May 28th 2012, 7:40 pm

When you use color its working , but when you use image its not working , strange :/

Akkii
Forumember

Male Posts : 710
Reputation : 107
Language : English,HTML, CSS,Photoshop,Javascript!
Location : Here on Forumotion!

http://www.csshelp.net

Back to top Go down

Re: gradient post code not working

Post by JAN2XONLINE on May 28th 2012, 7:48 pm

@Akkii wrote:When you use color its working , but when you use image its not working , strange :/

if using color will work, I will just use color then but idk how. lol bwi

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Re: gradient post code not working

Post by Akkii on May 28th 2012, 8:03 pm

dunno what's the problem
some cool colors should do the job ^^

Akkii
Forumember

Male Posts : 710
Reputation : 107
Language : English,HTML, CSS,Photoshop,Javascript!
Location : Here on Forumotion!

http://www.csshelp.net

Back to top Go down

Re: gradient post code not working

Post by SLGray on May 28th 2012, 8:12 pm

Try using only one not both a color and an image.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: gradient post code not working

Post by Akkii on May 28th 2012, 8:16 pm

Its not working , i tried already on my forum Razz

Akkii
Forumember

Male Posts : 710
Reputation : 107
Language : English,HTML, CSS,Photoshop,Javascript!
Location : Here on Forumotion!

http://www.csshelp.net

Back to top Go down

Re: gradient post code not working

Post by JAN2XONLINE on May 28th 2012, 8:16 pm

slg wrote:Try using only one not both a color and an image.

like this? :
Code:
$(function() {
    $('tr.post:has(".admin1") td').css('background','url(http://i47.servimg.com/u/f47/16/97/26/79/butto212.png) repeat-y');
    });

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Re: gradient post code not working

Post by SLGray on May 28th 2012, 8:17 pm

Yes try that code.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: gradient post code not working

Post by JAN2XONLINE on May 28th 2012, 8:19 pm

slg wrote:Yes try that code.

tried it and also didn't work. Confused

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum