Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [html][css] IE 8 i clear: both
outsider
post
Post #1





Grupa: Zarejestrowani
Postów: 267
Pomógł: 36
Dołączył: 8.08.2008

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


Witam

Mam problem ze stronka pod IE 8, mam 2 plywajace DIV'y, nastepnie kolejny DIV prawie 100% width. Niestety <br class="czyszczenie" /> nie pomaga, tylko IE 8 go "ignoruje".

cler: both -
Kod
br.czyszczenie { 
  display: block; 
  clear: both;  
}


Wszystkie DIV'y -
Kod
<div id="max_naglowek">                        // pudlo

 <div id="max_naglowek_tekst">               // float left
 </div>
  <div id="max_naglowek_obrazek">          // float right
  </div>
  <br class="czyszczenie" />                    // clera both
  
  <div id="max_naglowek_panel">             // panel

<span> Tekst w panelu </span>

  </div>
   
</div>


CSS -
Kod
#max_naglowek {
      width: 100%;                                // 100% czyli 932px
      margin: 0px;
}
#max_naglowek {
        width: 100%;
        margin: 0px;
}
#max_naglowek_tekst {
        background: url('images/tekst_naglowek.png') no-repeat;
 float: left;
 display: inline;
 margin: 0px;
 width: 640px;
 height: 130px;
 margin-left: 15px; 
}
#max_naglowek_obrazek {
        background: url('images/obrazek_naglowek.png') no-repeat;
 float: right;
 display: inline;
 margin: 0px;         
 width: 254px;
 height: 180px;             
 margin-right: 8px;
 margin-top: -22px;
}
#max_naglowek_panel {
        background: url('images/panel_ster.png') no-repeat;
        font-size: 12px;
        height: 53px;
 width: 916px;
 margin: 0px auto; 
 padding-top: 18px;
}



Szukalem wszedzie, niestety nie znalazlem, prosze o pomoc (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)  

Ten post edytował *OuTSideR* 16.01.2009, 18:24:08
Go to the top of the page
+Quote Post
batman
post
Post #2





Grupa: Moderatorzy
Postów: 2 921
Pomógł: 269
Dołączył: 11.08.2005
Skąd: 127.0.0.1




Zamiast br daj div i będzie po problemie. Pamiętaj tylko, by ustawić font-size i line-height tego div-a na 0. Bardzo pomaga, zwłaszcza na IE 6.
Go to the top of the page
+Quote Post
outsider
post
Post #3





Grupa: Zarejestrowani
Postów: 267
Pomógł: 36
Dołączył: 8.08.2008

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


dzieki wielkie, dziala (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
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 - 17:05