Jump to content

Problema Repetare Background De Mai Multe Ori!?


CaTa CaTa

Recommended Posts

Salut, am o problema cu background-ul, adica cand vreau sa fac rezolutia mai mica in Opera, background-ul se repeta de mai multe ori :|
Eu am facut asa:

 
body {
background-image: url("../images/bg/background.png");
/*background-repeat: repeat-x 0,0;*/
background-color: #000000;
}

Iata si o imagine cu problema: http://www.imgz.ro/i/5457fde87f9bf.PNG

Putin ajutor?

Link to comment
Share on other sites

  • Moderators

Re-adauga ce ai comentat:

/*background-repeat: repeat-x 0,0;*/

Si schimba cu:

background-repeat: no-repeat;

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Link to comment
Share on other sites

  • 2 months later...

Atunci cand pui un background pe o pagina si nu ii adaugi background-repeat el se va repeta automat x,y.

 

1. Poti face asa cum a zis gadeas:

background-repeat: no-repeat;

2. Sau asa:

body {
    background: #000 url("../images/bg/background.png") no-repeat;
}

Si in felul asta nu trebuie sa mai pui background-image si background-color.

www.evict.ro

EVICTro

loading1.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.