dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: macromedia.com background tile ? how

  1. #1
    Member
    Join Date
    May 2001
    Posts
    55

    macromedia.com background tile ? how

    Hi there

    I'm trying to figure out how macromedia accomplishes the forever ending fade to their background.

    I've created a sample here at
    http://www.humancapitalu.com/play/mm_background.htm

    but of course it doesnt work, what twinkle of code am i missing..or what am i missing ?

    Thanks
    R

  2. #2
    Retired Mod aversion's Avatar
    Join Date
    Jun 2000
    Location
    insomnia
    Posts
    7,917
    they use a bg tile like you're using, but then the bg colour is set to the last colour in the fade, so it only actually fades to a colour, it doesn't keep fading after that, the bg colour takes over if that makes sense.

    the image they use is here www.macromedia.com/images/master/background.jpg

    it's 1100 pixels high so that covers most resolutions, for browser windows showing more than 1100 it doesn't repeat, it just stops and the background colour takes over.

    the css for it is

    background-color: #72828b;
    background: #c6cfd0 url(/images/master/background.jpg) repeat-x;

    the repeat-x means it won't tile like yours is now, it will repeat horizontally but not vertically.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center