Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS][HTML]Skąd przerwa pomiędzy nagłówkiem a treścią
maciej916
post
Post #1





Grupa: Zarejestrowani
Postów: 43
Pomógł: 0
Dołączył: 13.06.2011

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


Oto Mój Problem :
(IMG:http://iv.pl/images/61539933596961164481.png)

Kod Panelu:
Kod
<div id="glowna" style="width:568px;">

                <div id="lewy"class="tekstlewy"><b>>></b>Test</div>
        <div>
            <div id="lewy_bg">
Test.Test.Test.Test.Test.Test.Test.Test.Test.Test.Test.Test.Test.
            </div>
            <div id="news_info">
                <div id="news2">Dodał: <span style="color: #ff0000;">MalakPl</span> Dnia: <span style="color: #ff0000;">7.Sierpnia.2011</span></div>
            </div>
        </div>
        <div id="lewy_dul"></div>



Css Panelu
Kod
#glowna {
    float: left;
}

#lewy {
    background: url('images/lewy.png');
    background-repeat: no-repeat;
  width:568px;
  height:53px;
}

.tekstlewy {
  font-family:Arial;
  font-size:14px;
  padding:23px 0 0 10px;
}

#lewy_dul {
    background:url('images/lewy_dul.png');
    background-repeat: no-repeat;
    width: 568px;
    height: 10px;
}

#news2 {
    padding:5px 10px 0px 5px;
    font-family:Tahoma;
    font-size: 11px;
    color:#ffffff;
}

#news_info {
    background:url('images/news_info.png');
    background-repeat: repeat-y;
    padding:6px 0px 0px 40px;
    width: 568px;
    height: 32px;
    font-family:Arial;
    font-size: 12px;
    color:#ffffff;
}

#lewy_bg {
    background:url('images/lewy_bg.jpg');
    padding:5px 10px 10px 10px;
    font-family:Tahoma;
    font-size: 11px;
    color:#000000;

}


dlaczego jest taka przerwa (IMG:style_emoticons/default/questionmark.gif)
Powód edycji: [Daiquiri]: Otwieram
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
luckyps
post
Post #2





Grupa: Zarejestrowani
Postów: 153
Pomógł: 41
Dołączył: 28.06.2011
Skąd: Częstochowa

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


A jakie sa wymiare -> images/lewy.png ?
Go to the top of the page
+Quote Post
maciej916
post
Post #3





Grupa: Zarejestrowani
Postów: 43
Pomógł: 0
Dołączył: 13.06.2011

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


Cytat(luckyps @ 9.08.2011, 10:24:16 ) *
A jakie sa wymiare -> images/lewy.png ?



568x53

mi się wydaje że jest to coś w .tekstlewy

Kod
.tekstlewy {
  font-family:Arial;
  font-size:14px;
  padding:23px 0 0 10px;
}



jest to wina padding on robi taki margines ale jak to zmienie to tekst nie będzie tam gdzie ja chce jak to zrobić inaczej
Go to the top of the page
+Quote Post

Posty w temacie


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: 5.10.2025 - 02:53