Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [css] wysokosc div'a
kufalo
post
Post #1





Grupa: Zarejestrowani
Postów: 251
Pomógł: 2
Dołączył: 24.08.2005

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


  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. </head>
  5. <body>
  6. <div style="width:200px;border:1px solid red">
  7. <div style="min-height:200px">
  8. <div style="margin:10px">text</div>
  9. </div>
  10. </div>
  11. </body>
  12. </html>


Mam dziwny problem z wysokoscia bialego pola wewnatrz czerwonej ramki.
Wydaje mi sie, ze powinien miec 200px, ale na roznych przegladarkach ma 210 lub 220.
Winowacja jest wewnetrzny margin, ale nie bardzo rozumiem dlaczego daje on taki dziwny skutek...?
Go to the top of the page
+Quote Post

Posty w temacie


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 Aktualny czas: 21.08.2025 - 16:50