html - Using background-repeat and background-position together -


I am trying to implement a layout on the website. In essence, it involves tiling a background image on the div in which both vertical columns are kept, it seems that both columns move downward.

My columns look like this:

XXXX MMMM XXXX MMMM XXXX XXXX YYYY XXXX YYYY XXXX YYYY XXXX YYYY XXXX YYYY

With a column on the left which goes all the way down the page, but with the menu and at the top of the right column, transparency and stuff ("M"), I just got the wrong column after the actual right column ("Y") I want to start the background, and I want to ignore everything due to the transparency between the menu and the Y-Column.

To do this, I was planning to drop the image below 200 pixels to offset the background image (background-condition: 0 pixel 200 px), it does not work.

I quickly realized that the image is standing repeat in two directions above and above the original offset point, it does not undo the effects of the offset, Recurrence - Y needs to work for the wrong columns.

How can I use background-repeating and background-positioning together to get layout?

Update to update:

< P> Here's my layout:

Ideally, be there and I use the "orange-transparent-pink" image to do the wrong columns for the entire column Can i But if I did this, then there will be a pink background in the green menu, due to which (really stupid, CSS repeat disturbances) and I can make the transparent background of the green menu as transparent PNG, but I Do not want to be repeated in the entire pink column. The background of the site is an image so I can not just create a certain color background in the green menu devils.

It seems that there is a losing position.

As far as I can see, you have two possibilities here:

< Ol>
  • MMMM part two right column has a solid background color then it overlays the duplicate column

  • The background image is not on the container but on YYYY and XXXX columns Set:


  • #XXXXcol {background: url (fake.png) repeats- y left top; } #YYYYcol {background: url (fake.png) duplication-y perfect top; }

    Note the "right" and "left" parts.


    Comments

    Popular posts from this blog

    c# - How to capture HTTP packet with SharpPcap -

    php - Multiple Select with Explode: only returns the word "Array" -

    php - jQuery AJAX Post not working -