Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> <hr>, width i Opera - problem
.radex
post
Post #1





Grupa: Zarejestrowani
Postów: 1 657
Pomógł: 125
Dołączył: 29.04.2006

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


Zauważyłem pewien problem z użyciem width dla <hr> w Operze.

Posiadając styl:

Kod
hr{
 border: 5px solid #F7F5D4;
 width: 100%;
 margin: 0;
 margin-top: 8px;
}
#sidebar hr{
 border-color: #C7C5A4;
 margin: 5px auto;
 margin-left: -10px;
 width: 150px;


}


Opera ustawia szerokość na 160px (width+border-left+border-right);

firefox: 150px (width)

IE: 150px

Jak widać, to raczej Opera źle interpretuje CSS (choć może jest odwrotnie) - jak to naprawić?


--------------------
blog | Tadam — minutnik do Pomodoro na Maka :)
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: 19.08.2025 - 04:51