Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [css][html] IE nie interpretuje atrybutu height
poxrimex
post 23.02.2008, 14:08:56
Post #1





Grupa: Zarejestrowani
Postów: 368
Pomógł: 2
Dołączył: 23.09.2007

Ostrzeżenie: (60%)
XXX--


Mam taki problem w IE gdyż wysokość tego diva powinna być 5px, a tymczasem robi się gdzieś z ok 15 px.
kod html:

  1. <div class="linia"></div>


a to css:

  1. div.linia
  2. {
  3. width: 780px;
  4. border-style: solid;
  5. border-width: 1px;
  6. border-top-width: 0px;
  7. border-color: #d2d2d2;
  8. height: 5px;
  9. max-height: 5px;
  10. }


Dzieje się tak tylko pod IE

overflow: hidden

było to sprawą całego zamieszania


--------------------



Go to the top of the page
+Quote Post
Sebastian003
post 23.02.2008, 14:27:42
Post #2





Grupa: Zarejestrowani
Postów: 282
Pomógł: 2
Dołączył: 22.03.2007

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


Link do strony może podasz ?
Go to the top of the page
+Quote Post
nevt
post 23.02.2008, 18:30:38
Post #3





Grupa: Przyjaciele php.pl
Postów: 1 595
Pomógł: 282
Dołączył: 24.09.2007
Skąd: Reda, Pomorskie.

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


dopisz jeszcze:
Kod
div.linia
{ margin: 0px; padding: 0px }


--------------------

-
Oh no, my young coder. You will find that it is you who are mistaken, about a great many things... -
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: 14.08.2025 - 06:25