WordPress

Witaj Gościu ( Zaloguj | Rejestruj )

Każdy temat założony w ewidentnie złym dziale będzie usuwany! Proszę czytać opisy działów i regulamin!

 
Reply to this topicStart new topic
> Opera - Problem z wyświetlaniem tekstu wpisów
misio71
post 17.5.2008 - 14:18
Post #1


aktywność:
*

Grupa: Bloger
Postów: 8

Nr: 3 541



Witam.

Mam problem z wyświetlaniem tekstu wpisów pod przeglądarką Opera. W Firefox-ie i IE jest wszystko ok, natomiast w Operze tekst jest w kolorze tła strony i w dodatku dużą czcionką i wyśrodkowany. Czy wiecie gdzie może być problem?

Blog znajduje się tutaj.


--------------------
Go to the top of the page
 
+Quote Post
Riff
post 17.5.2008 - 18:26
Post #2


aktywność:
*****

Grupa: +Bloger
Postów: 394

Nr: 3 158



Hmm, bez dostępu do stylu ciężko tak na sucho myśleć, no ale zrobiłbym tak - do pliku index.css w katalogu /css w folderze stylu wstawiłbym coś takiego:

KOD
.tresc_artykulu {
color:#eee;
text-align:left;
font-size:12px;
}


Oczywiście to przykład, który należało by zmodyfikować odpowiednio - bez urazy, ale jeśli Pan zapłacił za ten styl graficzny, to się Pan dał nabić wink.gif. Ja rozumiem "nie działa w IE", ale żeby nie działał w Operze? lol


--------------------
Jestem studentem, jeśli pomogłem, Ty pomóż mi:


Go to the top of the page
 
+Quote Post
misio71
post 17.5.2008 - 18:51
Post #3


aktywność:
*

Grupa: Bloger
Postów: 8

Nr: 3 541



Dla ułatwienia poniżej pokazuję całą zawartość pliku index.css

CODE
#zawartosc {
background-color: #333333;
width: 960px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
}
#logo {
text-align: left;
float: left;
width: 480px;
background-color: #333333;
}
#wyszukiwarka {
background-color: #333333;
float: right;
width: 460px;
text-align: right;
padding-right: 20px;
padding-top: 20px;
padding-bottom: 20px;
}
#global_menu {
background-color: #444444;
width: 960px;
clear: both;
height: 29px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #555555;
}
#baner_top {
float: left;
width: 960px;
}
#stopka {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #CCCCCC;
background-color: #444444;
clear: both;
width: 960px;
padding-top: 10px;
padding-bottom: 10px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #555555;
text-align: center;
}
#kolumny {
display: table;
width: 960px;
clear: both;
background-color: #333333;
}
#kolumna_lewa {
width: 240px;
background-position: top;
display: table-cell;
float: left;
background-color: #333333;
margin-top: 20px;
padding-top: 0px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
}
#reklama {
text-align: center;
margin-top: 40px;
}
#sidebar h2 {
background-color: #333333;
text-align: left;
text-transform: uppercase;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FFCC00;
padding: 10px; margin: 0;
font-size: small;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #666666;
}
#kolumna_prawa {
background-position: top;
display: table-cell;
width: 639px;
float: right;
background-color: #333333;
padding-right: 20px;
padding-left: 20px;
text-align: justify;
padding-bottom: 0px;
line-height: 150%;
margin-top: 20px;
margin-bottom: 20px;
padding-top: 0px;
border-left-width: 1px;
border-left-style: dotted;
border-left-color: #666666;
}
.tytul_wpisu {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #666666;
}
.stopka_wpisu {
background-color: #444444;
padding: 10px;
margin-top: 20px;
}
a img
{
border-top-color: #666666;
border-right-color: #666666;
border-bottom-color: #666666;
border-left-color: #666666;
}
a:hover img
{
border-color: #FFFFFF;
}
.naglowek_artykulu {
margin-bottom: 20px;
}
.menu_artykuly {
}
#sidebar, #sidebar ul {
margin: 0;
padding: 0;
list-style-type: none;
}
#sidebar a {
display: block;
color: #FFFFFF;
background: #333 url(../grafika/raquo.gif) no-repeat 10px 55%;
padding: 8px 0.8em 8px 25px;
text-decoration: none;
}
#sidebar a:hover
{
color: #FFCC00;
}

#sidebar .rss a{
padding: 8px 0.8em 8px 35px;
background: #333 url(../grafika/rss.png) no-repeat 10px 55%;
}


--------------------
Go to the top of the page
 
+Quote Post
Riff
post 18.5.2008 - 08:30
Post #4


aktywność:
*****

Grupa: +Bloger
Postów: 394

Nr: 3 158



No ale przecież ten kod widziałem i w oparciu o to podałem moje rozwiązanie, a nic poza nim powiedzieć nie mogę bo musiałbym sam edytować styl.


--------------------
Jestem studentem, jeśli pomogłem, Ty pomóż mi:


Go to the top of the page
 
+Quote Post
misio71
post 18.5.2008 - 11:02
Post #5


aktywność:
*

Grupa: Bloger
Postów: 8

Nr: 3 541



Rozumiem. Wstawiłem ten fragment kodu, który napisałeś ale niestety nic się nie poprawiło. Co dziwne szablon w wersji html wyświetlał się we wszystkich przeglądarkach prawidłowo - wiem, bo sam go robiłem. Dopiero w wersji php pojawił się ten problem. Czy byłbyś w stanie mi pomóc już poza forum i przejrzeć pliki tego szablonu?


--------------------
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:

 



Wersja Lo-Fi Aktualny czas: 4 12 08 - 02:01
WebFan | Forum Komputerowe | Spotkania blogerów