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ć?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
.radex
post
Post #2





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

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


Ach... w zasadzie to masz rację. Dzięki.
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: 4.10.2025 - 00:07