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.

adding more then one back ground attachment

View previous topic View next topic Go down

Solved adding more then one back ground attachment

Post by ddog on September 21st 2011, 1:23 pm

hey,

i was wondering how i could add more then one background attachment


i'm using PunBB

heres the code i got for the background attachment (just need to know how to add more bg attachments)

Code:
body {
   background-color: #333333;
   background-image: url('http://i53.tinypic.com/246lx6p.png');
   background-attachment: scroll;
   color: #333333;
   font-size: 12px;
   font-family: Verdana,Arial,Helvetica,sans-serif;
 background-repeat: repeat-x;
   }

ddog
Forumember

Posts : 50
Reputation : 0
Language : english

Back to top Go down

Solved Re: adding more then one back ground attachment

Post by Nera. on September 21st 2011, 1:28 pm

Hi,

You can do it with CSS like this, if you mean adding two bg images to one element in CSS. Change the links and add it to CSS under body selector.

Code:
    background: url("http://illiweb.com/fa/prosilver/quote.gif") no-repeat scroll left top, url("http://illiweb.com/fa/prosilver/quote.gif") no-repeat scroll right bottom transparent;

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: adding more then one back ground attachment

Post by ddog on September 21st 2011, 2:05 pm

ty, that worked, it removed my background and changed it to white, i want it back to this color: #333333

ddog
Forumember

Posts : 50
Reputation : 0
Language : english

Back to top Go down

Solved Re: adding more then one back ground attachment

Post by Nera. on September 21st 2011, 2:08 pm

Just change the word "transparent" in the code to your color code.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: adding more then one back ground attachment

Post by ddog on September 21st 2011, 2:13 pm

THANK YOU SO MUCH Smile

ddog
Forumember

Posts : 50
Reputation : 0
Language : english

Back to top Go down

Solved Re: adding more then one back ground attachment

Post by Sanket on September 21st 2011, 8:33 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.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