Results 1 to 4 of 4

Thread: How do I add a background image?

  1. #1
    Join Date
    Sep 2010
    Location
    penang
    Posts
    615
    Rep Power
    121

    How do I add a background image?

    How do I add a background image?

    I have a website using a css file. My site has a white background which I want to change with somthing like a pattern. How do I go about doing this? Any help would be appreciated.
    easy.my
    FREE Online Store Website.
    Set up an online shop in 5 MINUTES+ FB Page App

  2. #2
    Join Date
    Oct 2008
    Location
    Kuala Lumpur
    Posts
    154
    Rep Power
    136
    Below example, I setting the background to div.

    <div style="background:url(images.jpg); height:200px; width:200px;"></div>
    <div style="background:#000099; height:200px; width:200px;"></div>

  3. #3
    Join Date
    Apr 2019
    Location
    Ahmedabad
    Posts
    18
    Rep Power
    0
    (1)For External CSS::
    body {
    background-image: url("image.jpg");
    }

    (2)For Internal CSS::
    <style>
    body{
    background-image:url("image.jpg");
    }
    </style>

    (3)For Inline CSS::
    <body background="image.jpg">

    </body>

  4. #4
    Join Date
    May 2019
    Location
    Ahemdabad
    Posts
    15
    Rep Power
    0
    Add background image by style
    <style>
    your selector{
    background-image:url("imageurl");
    }
    </style>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Background Check Search
    By allenhan in forum Advertise Your Services
    Replies: 9
    Last Post: 31-12-2009, 01:51 AM
  2. How to add Background Music to Website
    By WanZDare2D in forum Website Design
    Replies: 1
    Last Post: 06-03-2009, 11:02 AM
  3. Switching background according to resolution
    By JDream in forum Website Design
    Replies: 4
    Last Post: 23-11-2007, 03:16 PM
  4. how to cut out the background ??
    By akumie in forum Websites Review and Suggestion
    Replies: 9
    Last Post: 22-02-2004, 04:52 PM
  5. cam ne nak buat background?
    By elfreakz in forum Webmaster Tools
    Replies: 4
    Last Post: 13-10-2003, 10:49 PM

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

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