Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> automatycznie dopasowana wysokosc diva
elem323
post
Post #1





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 24.07.2009

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


Witam, tak jak w temacie.. nie wiem czy znajdzie sie odwazny zeby sie z tym zmiezyc, bo problem raczej ciezki. Ponizej kod. dziala w IE6, FF3, nie dizla w IE7, IE8, Safari4


  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3. "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
  5.  
  6. </head>
  7.  
  8. <div style="background:#99FF00; width:400px; overflow:hidden; height:100%; display:table">
  9.  
  10. <div style="float:left; width:200px; display:table; height:100%; background:#eaeaea;">
  11. This design uses a defined body height of 100% which allows setting the contained left and right divs at 100% height.
  12. </div>
  13. <div style="float:left; width:200px; display:table; overflow:hidden; background:#990000">
  14. contained left and right divs at 100% height. This design uses a defined body height of 100% which allows setting the
  15. contained left and right divs at 100% height. This design uses a defined body height of 100% which allows setting the
  16. contained left and right divs at 100% height. This design uses a defined body height of 100% which allows setting the
  17. contained left and right divs at 100% height. This design uses a defined body height of 100% which allows setting the
  18. </div>
  19.  
  20. </div>
  21.  
  22. </body>
  23. </html>
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: 18.09.2025 - 13:50