Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML][CSS] Dwukolorowe tło
aras785
post 9.10.2013, 19:54:49
Post #1





Grupa: Zarejestrowani
Postów: 859
Pomógł: 177
Dołączył: 29.10.2009

Ostrzeżenie: (0%)
-----


Witam. Chcę osiągnąć taki efekt, że tło strony jest czarne, content biały + po prawej od contentu tło ma być też białe.



questionmark.gif wink.gif

Ten post edytował aras785 9.10.2013, 18:55:57
Go to the top of the page
+Quote Post
pedro84
post 9.10.2013, 20:00:28
Post #2





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


Tło dla body czarne, ale dla diva z zawartością tło białe. Dodatkowo, margines dla tegoż diva i już.


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
Mechanikzsz
post 9.10.2013, 21:05:42
Post #3





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 30.09.2012

Ostrzeżenie: (0%)
-----



Przykładowe rozwiązanie... smile.gif


  1. <body style="background-color:black;">
  2. <div style="background-color: white; height: 600px; width: 400px; margin-top: 50px; margin-left: 50px; margin-bottom: 50px;">
  3.  
  4. </div>
  5. </body>
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 18.05.2025 - 08:35