Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [html][css] Problem w ie6 z divem
bemol
post 24.10.2009, 12:26:28
Post #1





Grupa: Zarejestrowani
Postów: 286
Pomógł: 29
Dołączył: 5.04.2007
Skąd: Rymanów Zdrój/Rzeszów

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


Witam. Pracuje nad stronką i męczę się już dość długo nad problemem w ie6, a mianowicie:
Ustawiam dwa div'y w jednej lini i niestety div z prawej strony ucieka pod pierwszego diva, ale jest "zgodnie" z planem po prawej stronie.

Oto kod html i css:
Kod
#block_content {
  height:auto;
  overflow:hidden;
  width:635x;
  max-width:635px;
  display:inline;
  float:left;
}

#slideshow {
  height:auto;
  display:inline;
  float:right;
  overflow:hidden;
  width:217px;
  min-width:202px;
  max-width:217px;
}

#marqueecontainer{
position:relative;
width:187px;
margin:0;
height:375px;
overflow:auto;
}

#content {
    width:852px;
    background:url('images/bg_cont.gif') repeat-y;
    min-height:370px;
    height:auto;
    margin:0 auto;
}
.padding1 {
padding:35px;
}


  1. <div style="width:852px;height:auto;position:relative;top:53px;overflow:auto;">
  2. <div id="block_content">
  3. <div class="padding1">
  4. <?php
  5. ...
  6. ?>
  7. </div>
  8. </div>
  9. <div id="slideshow">
  10. <div id="marqueecontainer" onmouseover="copyspeed=pausespeed" onmouseout="copyspeed=marqueespeed">
  11. <div id="vmarquee" style="position:absolute;width:83%;margin:0;margin-left:10px;">
  12. <?php
  13. include('slide_show.php');
  14. ?>
  15. </div>
  16. </div>
  17. </div>
  18. </div>


i na koniec plik slideshow php
  1. <?php
  2.  
  3. $Db = new Engine(HOST, USER, DBPASSWORD, NAME);
  4. if ( $Db->IsConnected ) {
  5. $Db->Query("SELECT * FROM Galleries LEFT JOIN Photos ON PhotoGallery=GalleryID WHERE GalleryCategory='Fotorelacje' GROUP BY PhotoGallery ORDER BY GalleryID ASC;");
  6.  
  7. while ( $Row = $Db->FetchArray() ) {
  8.  
  9. echo '<a href="./index.php?p=display_photos&amp;gi='.$Row['GalleryID'].'#photo'.$Row['PhotoID'].'"><img src="./photos/mini/'.$Row['PhotoID'].'.jpg" alt="" style="border:0;margin-bottom:10px;" /></a>';
  10.  
  11. }
  12. }
  13. $Db->Close();
  14. ?>


--------------------
Tym ludziom zaufałem i dobrze na tym wyszedłem:
kresh
Darti
piotrekkr
Bez nich wiele bym nie zrobił. Dzięki im za to!
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: 19.07.2025 - 10:34