Professional Web Applications Themes

Image for background - Macromedia Dynamic HTML

I have an image now that I want to use for a background on all of my WebPages. The image size is 2912x 4368 and I have made it 1024x1536. On the page it looks good but what happens is the image repeats itself twice for width and length. I want it to only stay as one image no matter what resolution it is viewed as and not repeat the image for either length or width. Plus not look stretched or distorted. I am using Dream Weaver MX version 6 and also have Adobe PS CS2, any questions just ask. ...

  1. #1

    Default Image for background

    I have an image now that I want to use for a background on all of my
    WebPages. The image size is 2912x 4368 and I have made it 1024x1536. On the
    page it looks good but what happens is the image repeats itself twice for width
    and length. I want it to only stay as one image no matter what resolution it is
    viewed as and not repeat the image for either length or width. Plus not look
    stretched or distorted.

    I am using Dream Weaver MX version 6 and also have Adobe PS CS2, any questions
    just ask.

    How do I achieve this?

    Thanks


    568jfe56nfg Guest

  2. #2

    Default Re: Image for background

    Why so huge? What is the weight of that monster?
     

    This is not a resolution issue. It's a browser window size issue (and
    always has been). When you say "stay as one image", do you mean "not tile",
    or do you mean "fill the entire width and height"? If the latter, then you
    cannot do that with a background image. Background images tile, they don't
    stretch. You can prevent the tiling with a little CSS -

    body { background-repeat:no-repeat; }

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "568jfe56nfg" <com> wrote in message
    news:fn33r3$a9a$macromedia.com... 

    Murray Guest

  3. #3

    Default Re: Image for background

    Ok so where do I place this tag? body { background-repeat:no-repeat; }

    I am new to CSS.

    I can do the tile effect but I just want it to stay as one image and not
    stretch or distort at all.

    Thanks

    568jfe56nfg Guest

  4. #4

    Default Re: Image for background

    Place it either in a stylesheet embedded in the page, or in an externally
    linked stylesheet. You can use DW to create either if you aren't
    comfortable doing it manually.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "568jfe56nfg" <com> wrote in message
    news:fn3919$fhr$macromedia.com... 

    Murray Guest

  5. #5

    Default Re: Image for background

    ok, done. But now when viewing the page in ie at 1280x1024 I get a white bar on
    the right had side. How do I ge this image to fille the page as one image? I
    see a bun of sites have backround images and no matter what I set my resolution
    to the background stays as one and looks great.

    Also image size of mine is 1.1 meg.



    568jfe56nfg Guest

  6. #6

    Default Re: Image for background

    1.1MB? The target weight for a web page is no more than 60K, you know?

    Background images do not stretch. If you see pages where the images stretch
    then they are not background images. Can you show us one?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "568jfe56nfg" <com> wrote in message
    news:fn3hfm$nkl$macromedia.com... 

    Murray Guest

Similar Threads

  1. Background Image with Alpha + background color?
    By trytertqwr in forum HTML & CSS
    Replies: 3
    Last Post: February 17th, 11:14 AM
  2. Background image using CSS
    By MDG webforumsuser@macromedia.com in forum Macromedia Dynamic HTML
    Replies: 9
    Last Post: August 17th, 12:15 PM
  3. background image vs. insert image?
    By Josh in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 23rd, 10:36 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139