Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
I need some help with the background image
Old 02-02-2010, 09:48 PM I need some help with the background image
Marzo's Avatar
Novice Talker

Posts: 10
Name: Marzo
Location: Canada
Trades: 0
Okay I want my site to have an area where all the test and things are located like this site:

http://scythelegionclan.webs.com/

The area where it says:

Sorry, but Scythe Legion Clan has been destroyed due to its utter failure.



New Site:
Galaxy-Hq.tk


I want to make too. I decided to do that with CSS but with a background image.


Here's my background image:




Now if you look at my site:


http://dread-clan.webs.com


You'll see that the background image (image above) is starting to repeat at the very top of the page:





I want it to start repeating at a certain part of the page.


Here's my CSS


Code:
<style type="text/css">

body {background-color:#000000;}

body
{
background-image:url('http://i666.photobucket.com/albums/vv30/marzo999/Border2.png');
background-repeat:repeat-y;
background-position: 200px 400px;

}  

</style>
Noticed I used the background-position: 200px 400px;


thing? Well that moved over the background 200 pixels but it didn't move it down by 400...Am I doing it wrong?


~Marzo
__________________
-Html Noobie
Marzo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-02-2010, 10:38 PM Re: I need some help with the background image
wongpk's Avatar
Extreme Talker

Posts: 178
Trades: 0
Background position only to position your background image... Now your background image is 200px from the left, repeat start from 400px from the top.

If you want it to repeat on certain area/part, create another DIV...?
__________________
Regards,
Andrew

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
wongpk is offline
Reply With Quote
View Public Profile Visit wongpk's homepage!
 
Old 02-03-2010, 05:17 PM Re: I need some help with the background image
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Fake it.

Put a 200 pixel high element at the top of the body positioned absolutely with a z-index of 1 and a black background.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to I need some help with the background image
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11551 seconds with 12 queries