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.

Website Design Forum


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



Freelance Jobs

Reply
Old 12-05-2006, 04:55 AM setup background
Average Talker

Posts: 19
Trades: 0
i have a background image that is 1 pixel x 625 pixels. it's sort of a fade design and i like the look of it. i would like to set the image so that instead of just tiling the image over and over again down the page, it will only extend the color of the last pixel all the way down the page. the only way i know how to do it now is to make the background image like 10000 pixels long and extend the last pixel color manually. i don't want it to be a watermark because i have the top graphic and some on the sides to match up with the fade effect. so i'd like it to scroll with the page. hope that made sense. thanks in advance for any help.
http is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-05-2006, 05:27 AM Re: setup background
Super Talker

Posts: 124
Name: Chris
Trades: 0
I know what you mean and what you are trying to accomplish but in reality you are making it overly complicated. To make it accustomed to all resolutions make the background COLOR your very last pixel. Say you have a bg image that fades from white to black

so your css would look like:

Code:
body {
     background: #000 url(image/bg.jpg) repeat-x;
}
Take a look at this:

http://nvsmedia.syncomm.net/

the source code for that. The bg image is 1 pixel wide and 768 pixels tall. I took the very last pixel of my bg and made it the bg color.

If you don't want it to do that you can make your bg image fixed (where it scrolls with the user) but this makes for an odd site.
__________________
Chris - Trying to help others and learn myself!

Please login or register to view this content. Registration is FREE

Last edited by ctess; 12-05-2006 at 05:30 AM..
ctess is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to setup background
 

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.42395 seconds with 12 queries