Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Image is not tiling

    Hi guys

    I just cannot tile the background image on the main page. The image is placed like domino boxes one on the top of the other. The code below is what I have:

    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    background-image: url(../images/tile.jpg);
    background-repeat: repeat-y;
    color: #000000;
    background-color: #e5edf5;
    }

    The image is a two-coloured, linear fill type rectangle box. Do I need some extra code in the CSS file or something else?

    Will appreciate any help.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Image is not tiling

    I just cannot tile the background image on the main page. The image is placed like domino boxes one on the top of the other. The code below is what I have:
    No link to your site??? Can not see anything you have???

    But as a guess try:
    Code:
    background-repeat: repeat;

  3. #3
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: Image is not tiling

    No link to your site??? Can not see anything you have???
    I have no web site yet, just working locally. I'll give it a try to see if it works.

  4. #4
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: Image is not tiling

    Kobra,

    I changed the code as you suggested. The dimensions of the image was 2(W) x 1500(H) px. It worked. However, when I decreased the dimensions to 5x300 px, it started behaving as before. I attach the screenshot so you can see how exactly it looks.
    Attached Images Attached Images  

  5. #5
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Image is not tiling

    That looks exactly as I would expect it to look. The 300px high image fills across one row 300 px high, and then it steps down and fills across another row 300 px high, and so on to the height of the viewport.

    What else are you trying to achieve?

    Rob

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Image is not tiling

    For the tall image - repeat-x - would have been the correct style

 

 

Similar Threads

  1. Darkness Template--Logo is Tiling (Banner)
    By Reenie in forum Addon Templates
    Replies: 4
    Last Post: 2 Jan 2010, 07:51 PM
  2. Right hand boxes background not tiling
    By LamboNero in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Jul 2009, 05:08 AM
  3. Image size and tiling
    By Neil Bateman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Apr 2009, 03:42 PM
  4. Replies: 0
    Last Post: 2 Oct 2007, 05:25 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
  •  
disjunctive-egg