Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [css] div zachodzący na drugi
gibonik
post
Post #1





Grupa: Zarejestrowani
Postów: 128
Pomógł: 0
Dołączył: 27.03.2009

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


mam dwa div i chce zeby div dolny nachodzil ok. 5 px. pod diva nadrzednego
Go to the top of the page
+Quote Post
Quantum
post
Post #2





Grupa: Zarejestrowani
Postów: 450
Pomógł: 84
Dołączył: 27.11.2008
Skąd: Warszawa

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


position: absolute/relative/fixed + z-index

Ten post edytował Quantum 5.10.2010, 16:18:20
Go to the top of the page
+Quote Post
gibonik
post
Post #3





Grupa: Zarejestrowani
Postów: 128
Pomógł: 0
Dołączył: 27.03.2009

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


i teraz wszystko lata (IMG:style_emoticons/default/sad.gif) cos musze zle robić
a czy mozna zmarginesami marginesami?


podaje style
<div class="tytul"><h1> tresc</h1></div>
<div class="boxzawartosc"> tresc </div>


.tytul h1{
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
color: #FFF;
background:url(../img/tytul.jpg);
background-repeat:repeat-x;
height: 25px;
width: auto;
margin-bottom:2px;
padding-left: 30px;
padding-top: 10px;

}

.boxzawartosc {
background:#e4e0c7;
height: auto;
width: auto;
padding-top: 0px;
padding-right: 3px;
padding-bottom: 8px;
padding-left: 3px;
}
Go to the top of the page
+Quote Post
qrzysztof
post
Post #4





Grupa: Zarejestrowani
Postów: 220
Pomógł: 19
Dołączył: 25.04.2009

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


  1. margin-top: -5px
dla dolnego diva
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 23.08.2025 - 16:13