The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Using a background image and colors (Jalo)

2 posters

Go down

Solved Using a background image and colors (Jalo)

Post by Guest October 8th 2008, 5:03 pm

Ok I want to use a background image atop the site but want colors below it.

This is to prevent the image to duplicate as you scroll the index. Anyone know how to do this?


Last edited by Kilsek on October 8th 2008, 5:56 pm; edited 2 times in total
avatar
Guest
Guest


Back to top Go down

Solved Re: Using a background image and colors (Jalo)

Post by Hellboy999'sGirlfriend October 8th 2008, 5:10 pm

so?
Hellboy999'sGirlfriend
Hellboy999'sGirlfriend
Forumember

Female Posts : 59
Reputation : 0
Language : None
Location : Some where on the earth

Back to top Go down

Solved Re: Using a background image and colors (Jalo)

Post by zakir321 October 8th 2008, 5:32 pm

"so?"? What the fuck ?!? Don't spam...

Kilsek, you can just add this code below, it will stop repeating the overall background image, position it at the top center (remove the line from the code if you don't want that) and applies a background color below the image "layer".

Code:
body{
 background-repeat: no-repeat;
 background-position: top center;
 background-color: #ff0000;
}
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Solved Re: Using a background image and colors (Jalo)

Post by Guest October 8th 2008, 5:55 pm

See! That is why you are my hero!
avatar
Guest
Guest


Back to top Go down

Solved Re: Using a background image and colors (Jalo)

Post by Guest October 9th 2008, 6:20 am

Since this topic appears to be solved, as indicated by the solved tag, I will lock this thread to prevent any further comments being added.

=> Locked
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

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