1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How To Put Gradient Background On dreamweaver mx??

Discussion in 'HTML & Website Design' started by Zaizen, Apr 3, 2007.

  1. #1
    :confused:

    hello dpeers..really need some expert here..

    I need to know how to create gradient background like msn website :

    http://www.msn.com/

    Hmm, i try using my gradient image and put in on 'modify' and page properties..but just out half of the page..how i can fix the size and make the bg look smooth?.Actually,i'm trying to beat MSN..lol (just kidding):D

    http://www.msn.com/

    Thanks for any replying.
    Zaizen
     
    Zaizen, Apr 3, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Where is the link to your page? We know how MSFT is doing it, the questions are how are you trying to do it, and how can we help you fix it.

    cheers,

    gary
     
    kk5st, Apr 3, 2007 IP
  3. dmi

    dmi Well-Known Member

    Messages:
    2,705
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Make a background image like that in Photoshop (or any similar program) and put it as a background (background: url(path/to/your/image.jpg) repeat-x).
     
    dmi, Apr 3, 2007 IP
  4. Zaizen

    Zaizen Peon

    Messages:
    99
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hello gary..

    My page link is : http://www.graphicsalien.com oh, my site its so ugly..

    I need to change the background color to gradient color( grey and white)..like http://www.msn.com do (gradient blue and white)..i dont know how to put on dreamweaver mx..i just follow dmi tips( mx dont have repeat-x when i go to page properties :confused: ).

    Any one can help me..

    Thanks
     
    Zaizen, Apr 4, 2007 IP
  5. boyponga

    boyponga Banned

    Messages:
    1,013
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    To create a gradient background:
    1.) Create a gradient colored design in Adobe Photoshop.
    2.) After you saved your image in Photoshop, use CSS to declare the background.

    ex:
    body
    {
    background-image:url('image.jpg');
    }
    PHP:
     
    boyponga, Apr 5, 2007 IP
  6. petyard

    petyard Well-Known Member

    Messages:
    2,025
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    185
    #6
    this is funny..he doesn't know how to make a gradient but look what he's selling on the website

    "Stunning Graphics That Will SKYROCKET YOUR SALES All The Way To The UNIVERSE!"
     
    petyard, Apr 5, 2007 IP
  7. Zaizen

    Zaizen Peon

    Messages:
    99
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    petyard,

    watch your mouth..i think u not read my question what is all about..i know how do all this design stuff, my problem just about dreamweaver..i not know to much about css..and i found difficulty to put it on my page..
     
    Zaizen, Apr 5, 2007 IP
  8. carlosp120

    carlosp120 Well-Known Member

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #8
    ^^ thats how i do it, ponga u forgot to tell that like if u want the image to repeat u need to add "repeat-x" to repeat __ , "repeat-y" to repeat |


    hope it helps. :D
     
    carlosp120, Apr 5, 2007 IP
  9. Zaizen

    Zaizen Peon

    Messages:
    99
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    boyponga and carlos..thanks :)

    Check ur PM, i got offer to give you.
     
    Zaizen, Apr 5, 2007 IP
  10. bizhobby

    bizhobby Peon

    Messages:
    692
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #10
    bizhobby, Apr 5, 2007 IP
  11. dmi

    dmi Well-Known Member

    Messages:
    2,705
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    140
    #11
    I told you right away everything you wanted to know :)

    You said there is no repeat-x in DW... if I recall good (it was a long time since I used DW) - switch your design mode to code mode, find that line and just write 'repeat-x' there.

    dmi
     
    dmi, Apr 5, 2007 IP
  12. nickcmp

    nickcmp Peon

    Messages:
    549
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Easy just create a thin gradient image and for example save it as 'bg.jpg'

    then put this at the top of your code (html).

    body {
    background-image: url(bg.jpg); **
    background-repeat: repeat-x;
    }

    **If you have uploaded the image in the same dir as the page. Example, if you have uploaded it in 'images' it would be url(images/bg.jpg);
     
    nickcmp, Apr 6, 2007 IP
  13. Dima_2005

    Dima_2005 Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Use CSS But don't forget!!!!! If you use not a default color of background(not white, use this)
    
    body{
    background-color: #color;
    background-image: url(images/gradient.gif);
    background-repeat: repeat-x; /* or no-repeat */
    }
    
    HTML:
     
    Dima_2005, Apr 6, 2007 IP
  14. PacNW

    PacNW Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I know its been awhile for this post. Here is a clip from a CSS in DNN for a table with gradient background.

    background-color:Transparent; FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#ffffff',endColorStr='#B2BACC',gradientType='0' );
    }


    Or go to adobe.com and serach for MX garadient background extension for this.
     
    PacNW, Aug 28, 2007 IP
  15. bryandy

    bryandy Peon

    Messages:
    774
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #15
    all i do is make a small gif in photoshop and use that as the background ;)
     
    bryandy, Aug 28, 2007 IP